Closed pixelskull closed 8 years ago
@pixelskull Fusuma does not support landscape mode for now.
Appreciate your call. Is it possible to get that behavior fixed at FusumaViewController
? Then, for those building apps supporting a mixed set of layouts, it'd be really helpful to enforce the portrait only mode from the controller.
This code should be enough for raw testing.
override public func shouldAutorotate() -> Bool {
return false
}
override public func supportedInterfaceOrientations() -> UIInterfaceOrientationMask {
return UIInterfaceOrientationMask.Portrait
}
Would you prefer a pull-request? Thanks for the library!
When device is rotated to landscape the view is not layed out properly. The following images demonstrate the problem on iPhone 5 (4" screen size).