<!--
{
  "availability" : [
    "macOS: 10.3.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SecurityInterface",
  "identifier" : "/documentation/SecurityInterface/SFAuthorizationView/updateStatus(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Security Interface"
    ],
    "preciseIdentifier" : "c:objc(cs)SFAuthorizationView(im)updateStatus:"
  },
  "title" : "updateStatus(_:)"
}
-->

# updateStatus(_:)

Manually updates the authorization view.

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

## Parameters

`inSender`

The authorization view to update.

## Discussion

Calls to [`updateStatus(_:)`](/documentation/SecurityInterface/SFAuthorizationView/updateStatus(_:)) return <doc://com.apple.documentation/documentation/Swift/true> if in the unlocked state, <doc://com.apple.documentation/documentation/Swift/false> otherwise.

If autoupdates have not been set, you must call [`updateStatus(_:)`](/documentation/SecurityInterface/SFAuthorizationView/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(_:)`](/documentation/SecurityInterface/SFAuthorizationView/deauthorize(_:)), for example).

## See Also

[`func setAutoupdate(Bool)`](/documentation/SecurityInterface/SFAuthorizationView/setAutoupdate(_:))

Sets the authorization view to update itself automatically.

[`func setAutoupdate(Bool, interval: TimeInterval)`](/documentation/SecurityInterface/SFAuthorizationView/setAutoupdate(_:interval:))

Sets the authorization view to update itself at a specific interval.



---

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)