twotoasters / TWTSideMenuViewController

Side Menus for iOS 7
MIT License
847 stars 148 forks source link

Misaligned frame when appearing in landscape #21

Open auto234875 opened 10 years ago

auto234875 commented 10 years ago

This is a bit hard to replicate.

First, you present a modal VC in from the side menu in portrait orientation. This modal VC only support portrait.

Then if you hold the phone so that it would immediately rotate to landscape as soon as the modal vc is dismiised, the entire frame is messed up.

At this point, you can close the side menu, but the main VC won't fill the entire screen. Occasionally it might be too wide or too thin.

http://imgur.com/ukFJoYP http://imgur.com/SwrCDQC

The green part in this picture is the side menu's background, which should not be visible at all. The only way to undo after this happen is to restart the app.