handsomecode / InteractiveSideMenu

iOS Interactive Side Menu written in Swift.
Apache License 2.0
708 stars 163 forks source link

Addressing iOS 11 safeAreaInsets issue with content controllers #77

Closed enmiller closed 6 years ago

enmiller commented 6 years ago

On iOS 11, there is an issue that can arise where the content controller of the side menu will fail to have its safeAreaInsets set properly if the transitionOptions contentScale property set to a certain range of values.

Through testing, the value range appears to be between 0.87 - 0.91. To combat this for the time being, the default value for contentScale has been adjusted from 0.88 to 0.86.


A new side menu item has been added to the Sample project that allows users to adjust the transitionOptions in real-time, allowing for faster development and tweaking.