---
title: "removeObserver(_:)"
framework: Local Authentication
role: symbol
role_heading: Instance Method
platforms: [iOS 18.0+, iPadOS 18.0+, Mac Catalyst 18.0+, macOS 15.0+, visionOS 2.0+, watchOS 11.0+]
path: "localauthentication/laenvironment/removeobserver(_:)"
---

# removeObserver(_:)

## Declaration

```swift
func removeObserver(_ observer: any LAEnvironment.Observer)
```

## Discussion

Discussion Removes the previously registered observer. If the observer is deallocated, it will be removed automatically.
