AVPlayerViewController's customInfoViewController can not be removed.

Originator:s81375
Number:rdar://48192193 Date Originated:2019.02.19
Status:Resolved Resolved:YES
Product:tvOS Product Version:12.0
Classification:Crash Reproducible:Always
 
I'd like to show customInfoViewController in some case, and another case to hide it. 

Steps to Reproduce: 
1. Add customInfoViewController to AVPlayerViewController. 
2. Set customInfoViewController = nil

Expected Results: Remove customInfoViewController from tab bar. 
Actual Results: Crash and show the message on console. *** -[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[0] (null) 

Version/Build: tvOS 12.0

Comments

Update to tvOS 12 beta 1 to fix this issue.


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!