Post

Replies

Boosts

Views

Activity

ios:16 UIViewController's method of setNeedsUpdateOfSupportedInterfaceOrientations does not exits
in ios16, when the device rotate from landscapeLeft to the landscapeRight,or from landscapeRight to landscapeLeft,the topmost UIViewController‘s method of supportedInterfaceOrientations does not be called,which means the UI does not change when the device upsideDown. To solve this problem,I want to call the UIViewController's method of setNeedsUpdateOfSupportedInterfaceOrientations to change the UIWindow's orientation when the device upsideDown, but the method does not exist.
2
1
1.2k
Jul ’22