It was both. Turned out that in a CocoaPod imported lib there was a category on UIAlertController that returned in -supportedInterfaceOrientations UIInterfaceOrienationPortrait instead of UIInterfaceOrienationMaskPortrait.
Topic:
UI Frameworks
SubTopic:
UIKit
Tags: