Open andreinitescu opened 10 years ago
issue is more visible on iPad
In PanelContaneir::ViewWillAppear it doesn't take into account the PortraitUpsideDown, it should be like:
if (InterfaceOrientation != UIInterfaceOrientati on.Portrait && InterfaceOrientation != UIInterfaceOrientation.PortraitUpsideDown) {
this fixes the problem in the demo.
but I still have the 2nd problem which appears only in my app with the vertical black rectangle. it looks like on rotation, the frames need to be recomputed. Don't know yet how to fix that exactly.
this happens in the demo app in landscape, sometimes a black border appears at the bottom sometimes it's not visible if you rotate the device with the menu open. you need to close and open again to see the issue.
also, in my app, once I get this black border at the bottom in landscape, when I rotate back to portrait I get a vertical black rectangle, like in the image from another issue (https://github.com/thedillonb/MonoTouch.SlideoutNavigation/issues/7) this doesn't happen in the demo app though.
this is iOS 7.1