---
title: NSAllowsArbitraryLoadsForMedia
framework: bundleresources
role: symbol
role_heading: Property List Key
path: bundleresources/information-property-list/nsapptransportsecurity/nsallowsarbitraryloadsformedia
---

# NSAllowsArbitraryLoadsForMedia

A Boolean value indicating whether all App Transport Security restrictions are disabled for requests made using the AV Foundation framework.

## Discussion

Discussion Set this key’s value to YES to disable App Transport Security restrictions for media loaded using the AVFoundation framework, without affecting your URLSession connections. Domains you specify in the NSExceptionDomains dictionary aren’t affected by this key’s value. Employ this key only for loading encrypted media—like files protected by FairPlay or by secure HTTP Live Streaming—that don’t contain personalized information. In iOS 10 and later and in macOS 10.12 and later, if you include this key with any value, then App Transport Security ignores the value of the NSAllowsArbitraryLoads key, instead using that key’s default value of NO. For more information about how the OS version affects ATS behavior, see the NSAppTransportSecurity key’s Versioning section. important: You must supply a justification during App Store review if you set the key’s value to YES, as described in Provide Justification for Exceptions.

## See Also

### Global Exceptions

- [NSAllowsArbitraryLoads](bundleresources/information-property-list/nsapptransportsecurity/nsallowsarbitraryloads.md)
- [NSAllowsArbitraryLoadsInWebContent](bundleresources/information-property-list/nsapptransportsecurity/nsallowsarbitraryloadsinwebcontent.md)
- [NSAllowsLocalNetworking](bundleresources/information-property-list/nsapptransportsecurity/nsallowslocalnetworking.md)
