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
.