I'm developing an app that first presents a UICollectionView with a bunch of buttons that modally open a subclass of AVPlayerViewController with a custom "Over Full Screen" segue. UIViewControllerBasedStatusBarAppearance is set to YES in my Info.plist.
Here's a small (had to zoom out, sorry) screenshot of all the view controllers in Interface Builder:
The segue was defined in IB. When the user taps a collection view cell, I use performSegueWithIdentifier() to, well, perform the segue.
The problem I'm now experiencing is this:
Why does the status bar hide along with the playback controls in landscape mode, while doing the exact opposite in portrait mode?
Making prefersStatusBarHidden() return true in my subclass of AVPlayerViewController doesn't do anything. What gives?