---
title: complete
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/urlfileprotection/complete
---

# complete

An option that instructs the system to store the file in an encrypted format on-disk that your app can’t access for reading or writing to while the device is locked or booting.

## Declaration

```swift
static let complete: URLFileProtection
```

## See Also

### Protection levels

- [completeUnlessOpen](foundation/urlfileprotection/completeunlessopen.md)
- [completeUntilFirstUserAuthentication](foundation/urlfileprotection/completeuntilfirstuserauthentication.md)
- [completeWhenUserInactive](foundation/urlfileprotection/completewhenuserinactive.md)
- [none](foundation/urlfileprotection/none.md)
