---
title: "biometry(fallback:)"
framework: localauthentication
role: symbol
role_heading: Type Method
path: "localauthentication/laauthenticationrequirement/biometry(fallback:)"
---

# biometry(fallback:)

Creates a requirement that requires biometric authentication or a fallback requirement that you specify.

## Declaration

```swift
class func biometry(fallback: LABiometryFallbackRequirement) -> Self
```

## Parameters

- `fallback`: A requirement to use a fallback if biometric authentication fails or is unavailable, or if the user prefers not to use biometric authentication.

## Return Value

Return Value Returns a requirement that requires biometric authentication or a fallback requirement that you specify.

## See Also

### Specifying authentication requirements

- [default](localauthentication/laauthenticationrequirement/default.md)
- [biometry](localauthentication/laauthenticationrequirement/biometry.md)
- [biometryCurrentSet](localauthentication/laauthenticationrequirement/biometrycurrentset.md)
