I'm using an AVPlayer and MKVolumeView to display the native AirPlay output menu.
In iOS 6, the AirPlay output menu seem to be presented in portrait regardless of the orientation of the status bar. In iOS 5, it followed the status bar orientation.
Any way to get it to follow the status bar, or at least force the orientation?
On an iPhone with a Home button, swipe up from the bottom of the screen to access it. On an iPhone without a Home button, swipe down from the top-right corner of the screen instead. Here, tap on the rotation lock icon (which looks like a lock with a circular arrow) to turn it on or off.
On the iPhone, down from the upper-right corner to open the Control Center. Tap and hold the Music control area, then select the AirPlay icon. Choose a device to connect over AirPlay.
Found a way to resolve this issue. Just override the UIActionSheet method showInView using a category. Then set the view in showInView with your view. Probably this will resolve the issue. It has worked for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With