<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.10.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Security",
  "identifier" : "/documentation/Security/SecAccessControlCreateFlags/userPresence",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "Security"
    ],
    "preciseIdentifier" : "c:@E@SecAccessControlCreateFlags@kSecAccessControlUserPresence"
  },
  "title" : "userPresence"
}
-->

# userPresence

Constraint to access an item with either biometry or passcode.

```
static var userPresence: SecAccessControlCreateFlags { get }
```

## Discussion

Biometry doesn’t have to be available or enrolled. The item is still accessible by Touch ID even if fingers are added or removed, or by Face ID if the user is re-enrolled.

This option is equivalent to specifying [`biometryAny`](/documentation/Security/SecAccessControlCreateFlags/biometryAny), [`or`](/documentation/Security/SecAccessControlCreateFlags/or), and [`devicePasscode`](/documentation/Security/SecAccessControlCreateFlags/devicePasscode).

---

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)