<!--
{
  "availability" : [
    "iOS: 10.0.0 -",
    "iPadOS: 10.0.0 -",
    "macOS: 10.12.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "BundleResources",
  "identifier" : "/documentation/BundleResources/Information-Property-List/NSAppTransportSecurity/NSAllowsArbitraryLoadsForMedia",
  "metadataVersion" : "0.1.0",
  "role" : "Property List Key",
  "symbol" : {
    "kind" : "Property List Key",
    "modules" : [
      "Bundle Resources"
    ],
    "preciseIdentifier" : "plist:Information_Property_List.NSAppTransportSecurity.NSAllowsArbitraryLoadsForMedia"
  },
  "title" : "NSAllowsArbitraryLoadsForMedia"
}
-->

# NSAllowsArbitraryLoadsForMedia

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

## Discussion

Set this key’s value to `YES` to disable App Transport Security restrictions for media loaded using the <doc://com.apple.documentation/documentation/AVFoundation> framework, without affecting your <doc://com.apple.documentation/documentation/Foundation/URLSession> connections. Domains you specify in the [`NSExceptionDomains`](/documentation/BundleResources/Information-Property-List/NSAppTransportSecurity/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 <doc://com.apple.documentation/documentation/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`](/documentation/BundleResources/Information-Property-List/NSAppTransportSecurity/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`](/documentation/BundleResources/Information-Property-List/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`.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)