UIImagePickerController freeze when setting UISlider appearance proxy

Originator:yoam.farges
Number:rdar://30396879 Date Originated:02 Feb 2017
Status:Open Resolved:
Product:iOS Product Version:iOS 10.1
Classification:Crash / Freeze Reproducible:Always
 
Area:
UIKit

Summary:
UIImagePickerController (with camera source) freezes the app when being accessed while having set the UISlider minimumTrackTintColor global appearance proxy.

The crash is related to CGContext invalid context 0x0.

Steps to Reproduce:
1. Create UISlider minimumTrackTintColor global appearance proxy
2. Present an UIImagePickerController from any ViewController, with a .camera sourceType

Expected Results:
Having the image picker being presented and being able to take a picture.

Actual Results:
The camera picker does not show, the app stays frozen.

Version:
iOS 10.1.1

Notes:


Configuration:
iPad Air 2

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!