handsomecode / InteractiveSideMenu

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

Page Size Issues After Rotating with Left Menu Opened/Closed #85

Closed xixinjie closed 6 years ago

xixinjie commented 6 years ago

Hi @enmiller @AlexKorovyansky, thank you for sharing this awesome lib. Could you please help me solve the page size issues after rotating. Two cases as below:

Case 1. Rotate with left menu closed

  1. Open my app in portrait, and open left menu to check its size: OK
  2. Close left menu and rotate to landscape, open left menu to check its size: Error, a gap in bottom
  3. Close left menu and rotate to portrait, open left menu to check its size: Error, a gap in bottom

Case 2. Rotate with left menu opened

  1. Open my app in portrait, and open left menu to check its size: OK
  2. Rotate to landscape, check main content page size: Error, a half-screen gap in right, open left menu to check its size: Error, a gap in bottom

It might be caused status bar or size control when rotate.

xixinjie commented 6 years ago

Closed this issue cuz I solved it, which is due to UINavigationController problem.

vaibhav-varshaaweblabs commented 6 years ago

@xixinjie Please share the solution here