<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVSystemRouting",
  "identifier" : "/documentation/AVSystemRouting/AVSystemRouteController-18ns8/removeObserver(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AVSystemRouting"
    ],
    "preciseIdentifier" : "s:15AVSystemRouting0A15RouteControllerC14removeObserveryyAA0acdF0_pF"
  },
  "title" : "removeObserver(_:)"
}
-->

# removeObserver(_:)

Removes a previously registered observer from the system routing controller.

```
final func removeObserver(_ observer: any AVSystemRouteControllerObserver)
```

## Parameters

`observer`

The observer object to remove. If the observer is not currently
registered, this function has no effect.

## Discussion

Call this function to unregister an observer when it no longer needs to receive routing
event notifications. This is typically done in the observer’s deallocation or
when the observer is no longer relevant to avoid memory leaks and unnecessary callbacks.

---

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)