---
title: "AXObserverRemoveNotification(_:_:_:)"
framework: Application Services
role: symbol
role_heading: Function
platforms: [macOS 10.2+]
path: applicationservices/1462066-axobserverremovenotification
---

# AXObserverRemoveNotification(_:_:_:)

Removes the specified notification from the list of notifications the observer wants to receive from the accessibility object.

## Declaration

```swift
func AXObserverRemoveNotification(_ observer: AXObserver, _ element: AXUIElement, _ notification: CFString) -> AXError
```

## Parameters

- `observer`: The observer object created from a call to doc://com.apple.documentation/documentation/applicationservices/1460133-axobservercreate.
- `element`: The accessibility object for which this observer observes notifications.
- `notification`: The name of the notification to remove from the list of observed notifications.

## Return Value

Return Value If unsuccessful, AXObserverRemoveNotification may return one of the following error codes, among others:

## See Also

### Notification API

- [AXObserverAddNotification(_:_:_:_:)](applicationservices/1462089-axobserveraddnotification.md)
- [AXObserverCreate(_:_:_:)](applicationservices/1460133-axobservercreate.md)
- [AXObserverCreateWithInfoCallback(_:_:_:)](applicationservices/1460610-axobservercreatewithinfocallback.md)
- [AXObserverGetRunLoopSource(_:)](applicationservices/1459139-axobservergetrunloopsource.md)
- [AXObserverGetTypeID()](applicationservices/1461244-axobservergettypeid.md)
