I’ve got a view controller in a UIPopoverController. I want to adjust the ui based on whether or not it is in portrait orientation.
No matter what orientation my iPad is in (physical device), self.interfaceOrientation always reports Portrait. I’m logging it in -viewWillAppear: and it’s always Portrait.
Why?
Use:
to recognize statusBar oriantation.