Determine if AVPlayerViewController top menu is show

Originator:cgoldsby
Number:rdar://31756309 Date Originated:21-Apr-2017
Status:Open Resolved:
Product:tvOS + SDK Product Version:
Classification:Feature (New) Reproducible:
 
Area:
AV Playback

Summary:
There is no way to know if the top menu (the one to select audio and subtitles) is currently presented on the screen.

We have a custom click gesture for an AVPlayerViewController to show a supplemental view controller. We would like to prevent this gesture from being invoked when the AVPlayerViewController top menu is shown.

When the AVPlayerViewController top menu is shown, gestures to the player view controller is still being received. 

Our current work around is to detect if there is a TabBars in the view hierarchy. But, it would be nice to have a more developer friendly api for this scenario.

Steps to Reproduce:
There isn't an API to detect if the AVPlayerViewController top menu is presented.

Expected Results:
There is an API to detect if the AVPlayerViewController top menu is visible.

Actual Results:
There isn't an API to detect if the AVPlayerViewController top menu is visible.

Version:
tvOS 10.2

Notes:


Configuration:
AppleTv 4th Generation

Attachments:

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!