App Orientation in iOS9 Split View
问题 I'm looking at how my app will run in Split View on an iPad Pro. I use constraints for layout, but sometimes I want to know the window orientation in order to tweak the layout by modifying a couple of constraints. Things are easy to handle if the user rotates the device (I handle the call of viewWillTransitionToSize), but the app has to know its initial orientation. Until now, I have been using the status bar orientation to determine the device orientation: UIInterfaceOrientation o = [