AVPlayerViewController 3D Touch Peek & Pop issues

Originator:an00na
Number:rdar://35956578 Date Originated:December 10 2017, 11:03 AM
Status:Open Resolved:
Product:iOS + SDK Product Version:11.2
Classification:Serious Bug Reproducible:Always
 
Area:
AVKit

Summary:
Everything is bad of using 3D Touch to Peek and Pop AVPlayerViewController:
1. The performance of Peek and Pop is very bad.
2. Because it is so hard and slow to peek it is very easy to apply over pressure so that it goes to Pop immediately after Peek just shows up. There is no stable Peek period.
3. For a AVPlayerViewController presented with Peek and Pop any flick gesture will dismiss it. In comparison, a normally presented AVPlayerViewController can be interactively dismissed by pan gestures.


Steps to Reproduce:
1. Launch sample app.
2. 3D touch at any place to Peek. Feel how bad the performance is.
3. Try holding it in Peek state. Feel how hard it is to hold it stable in Peek state.
4. After Pop, apply any flick gesture on the player to see it is accidentally dismissed.


Code: https://mega.nz/#!IGZCgZba!2mjt8ItvdnPtQeMwTj0dWrsKhSpdZco9ru2m1xOCKBE

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!