AVURLAssetHTTPUserAgentKey
A key that specifies the user agent of requests that an asset makes.
Declaration
let AVURLAssetHTTPUserAgentKey: StringDiscussion
Use this key to set a custom User-Agent header on requests that this asset makes. The system uses its default user agent if you don’t specify a value.
See Also
Options
AVURLAssetAllowsCellularAccessKeyAVURLAssetAllowsConstrainedNetworkAccessKeyAVURLAssetAllowsExpensiveNetworkAccessKeyAVURLAssetHTTPCookiesKeyAVURLAssetOverrideMIMETypeKeyAVURLAssetPreferPreciseDurationAndTimingKeyAVURLAssetPrimarySessionIdentifierKeyAVURLAssetReferenceRestrictionsKeyAVURLAssetShouldSupportAliasDataReferencesKeyAVURLAssetURLRequestAttributionKeyAVURLAssetShouldParseExternalSphericalTagsKey