| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Relates to #1437.
BREAKING CHANGES: In iOS, there are concepts for device orientation (UIDeviceOrientation) and interface orientation (UIInterfaceOrientation). In here, there is no distinct implementation for both orientations. Currently, it is exposed as an `orientation` property of the device and takes into account both orientations for iOS. Deprecate `isLandscape` function as it does not work properly and it is not used internally. Migration steps: Use `device.orientation` property instead.
Move orientation from device to application. iOS: Use `UIApplication.sharedApplication.statusBarOrientation` instead of `UIDevice.currentDevice.orientation`. Implements #1437.
Also remove iOS orientation setter.
| Back | FazBrowse Home | New Git URL |
PR Checklist
What is the current behavior?
The application user interface is missing orientation property.
[iOS] UIDevice.currentDevice.orientation is in use.
What is the new behavior?
The application user interface has an orientation property.
[iOS] UIApplication.sharedApplication.statusBarOrientation is in use.
Implements #1437.