---
title: hasProtectedContent
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avasset/hasprotectedcontent
---

# hasProtectedContent

A Boolean value that indicates whether the asset contains protected content.

## Declaration

```swift
var hasProtectedContent: Bool { get }
```

## Discussion

Discussion Assets that contain protected content may not be playable without successful authorization, even if the value of its isPlayable property is true.
