AVPlayerViewController on iOS 11 device not being able to AirPlay to AppleTV

I have this app using

AVPlayerViewController
. The app is compiled for iOS 9.


I run this app on an iPad 3 with iOS 9.2 and it is able to airPlay to my AppleTV running tvOS 10.2.2.

I run this app on an iPad Pro with iOS 11 beta 9 and when I tap on the airPlay icon on the video control the only thing the app does is to expand the player window and the bar itself.


When I tap again on the airplay icon, the bar is all mangled (see the following pictures).


BAR STARTS SMALL

https://i.stack.imgur.com/ogNnM.png


BAR GROWS

When I tap on the airplay icon...

https://i.stack.imgur.com/b4Jv8.png


BAR MANGLES

When I tap on the airplay icon again... see the 3 buttons on the left.

https://i.stack.imgur.com/RmZMI.png



BTW, the back 15, forward 15 and pause never works at any point.

https://i.stack.imgur.com/yGCy3.png


Is it just me or is this a iOS 11 bug?

AVPlayerViewController on iOS 11 device not being able to AirPlay to AppleTV
 
 
Q