Swipe up doesn't work with AVPlayerViewController on tvOS 14

Originator:aleksandr.medvedev.epam
Number:rdar://FB8673300 Date Originated:September 11, 2020
Status:Open Resolved:
Product:tvOS Product Version:14.0 (18J5370e)
Classification:Incorrect/Unexpected Behavior Reproducible:Yes
 
Upon migrating to tvOS 14, we noticed in our reference app that our UISwipeGestureRecognizer with up direction stopped working. After looking into it, it turned out that a gesture of private type “AVFocusTensionGestureRecognizer” somehow prevents our gesture recognizer from handling the swipes. The same works fine on all prior versions of tvOS.

Environment:
Xcode Version: 12.0 beta 6 (12A8189n)
tvOS Version: 14.0 (18J5370e)
Apple TV Model: Apple TV 4K (at 1080p) Simulator

Steps to reproduce:
1) Open a subclass AVPlayerViewController with a UISwipeGestureRecognizer attached to its root view
2) Swipe up on the remote

Expected result:
Target action is invoked

Actual result:
Nothing happens

Comments

I didn't get any resolution on this ticket yet, but an Apple engineer responded in relevant thread on Apple forum here - https://developer.apple.com/forums/thread/659711 and it looks like this behavior is not a bug. It is kind of expected

By aleksandr.medvedev.epam at Sept. 18, 2020, 7:22 a.m. (reply...)

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!