Calling presentationLayer() on AVPlayerLayer results in a crash

Originator:kelifancher
Number:rdar://26395498 Date Originated:20-May-2016 02:47 PM
Status:Open Resolved:
Product:iOS Product Version:9
Classification:Crash/Hang/Data Loss Reproducible:Always
 
Summary:
Any call to presentationLayer() on an AVPlayerLayer object will crash.

Steps to Reproduce:
Create an AVPlayerLayer and make a call to the presentationLayer() method inherited from CALayer(). (Run the attached sample project)

Expected Results:
I would expect it to not crash, and to return a layer in the presentationLayer hierarchy for the AVPlayerLayer.

Actual Results:
The app crashes with an EXC_BAD_ACCESS.

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!