Summary:
The ATS setting NSAllowsArbitraryLoadsForMedia works for devices running iOS 10.1, but does not work with iOS 10 Simulator.
Steps to Reproduce:
See sample project. Video plays on device. Video does not play in simulator.
2016-12-07 10:55:08.882 Play One Video[75588:36574145] App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file.
Expected Results:
Video plays because of presence of NSAllowsArbitraryLoadsForMedia=YES
Actual Results:
2016-12-07 10:55:08.882 Play One Video[75588:36574145] App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file.
Version:
Version 10.0 (SimulatorApp-700.14 CoreSimulator-307.14.2)
Notes:
Configuration:
iOS 10.1 simulator
Attachments:
'Play One Video.zip' was successfully uploaded.
Description
Area: AVFoundation (Audio / Video)
Summary: The ATS setting NSAllowsArbitraryLoadsForMedia works for devices running iOS 10.1, but does not work with iOS 10 Simulator.
Steps to Reproduce: See sample project. Video plays on device. Video does not play in simulator.
2016-12-07 10:55:08.882 Play One Video[75588:36574145] App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file.
Expected Results: Video plays because of presence of NSAllowsArbitraryLoadsForMedia=YES
Actual Results: 2016-12-07 10:55:08.882 Play One Video[75588:36574145] App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file.
Version: Version 10.0 (SimulatorApp-700.14 CoreSimulator-307.14.2)
Notes:
Configuration: iOS 10.1 simulator
Attachments: 'Play One Video.zip' was successfully uploaded.
- Product Version: 10.1 Created: 2016-12-07T16:00:04.025550 Originated: 2016-12-07T00:00:00 Open Radar Link: http://www.openradar.me/29553892