---
title: "updateStatus(_:)"
framework: securityinterface
role: symbol
role_heading: Instance Method
path: "securityinterface/sfauthorizationview/updatestatus(_:)"
---

# updateStatus(_:)

Manually updates the authorization view.

## Declaration

```swift
func updateStatus(_ inSender: Any!) -> Bool
```

## Parameters

- `inSender`: The authorization view to update.

## Discussion

Discussion Calls to updateStatus(_:) return true if in the unlocked state, false otherwise. If autoupdates have not been set, you must call updateStatus(_:) for the authorization view’s initial state to display correctly. The Security Framework calls this method for you when you change the state of the lock (by calling deauthorize(_:), for example).

## See Also

### Related Documentation

- [setAutoupdate(_:)](securityinterface/sfauthorizationview/setautoupdate(_:).md)
- [setAutoupdate(_:interval:)](securityinterface/sfauthorizationview/setautoupdate(_:interval:).md)
