What's new in UIKit

RSS for tag

Discuss the WWDC22 Session What's new in UIKit

Posts under wwdc2022-10068 tag

1 result found
Sort by:
Post not yet marked as solved
8 Replies
14k Views
Is anyone facing any issue with rotation on iOS 16? It seems to introduce some unexpected behaviour. For example, if we're on a Master screen that supports all orientations and device is in Landscape mode, presenting/pushing another Details screen that only supports Portrait automatically brings the app to Portrait with no animations. While on iOS 15 or earlier, the app remains at Landscape and only rotates to Portrait when physical device's orientation changes. Then if we dismiss/pop back to Master screen, the app again unexpectedly rotates from Portrait to Landscape with no animations. Looks like a regression bug on iOS 16 part of some recent deprecations related to shouldAutorotate or UIDevice.setValue:forKey: as well as the introduction of setNeedsUpdateOfSupportedInterfaceOrientations.
Posted
by ntduyet.
Last updated
.