IOS 10 UIViewController exposed by Current Current Context does not rotate when device orientation changes

I have set the presentation type to the context of the current context in the storyboard.

When calling segue, the new UIViewController is displayed correctly.

However, when the device orientation changes, the new UIViewController does not rotate, even though its parent UIViewController does.

Searching on StackOverflow I don't see any modern (iOS 9 and up) links to this only hacks for working with iOS 6/7.

If set in code, then UIModalPresentationStyle will be set to overCurrentContext.

+3


source to share





All Articles