---
title: "CFRunLoopRemoveObserver(_:_:_:)"
framework: corefoundation
role: symbol
role_heading: Function
path: "corefoundation/cfrunloopremoveobserver(_:_:_:)"
---

# CFRunLoopRemoveObserver(_:_:_:)

Removes a CFRunLoopObserver object from a run loop mode.

## Declaration

```swift
func CFRunLoopRemoveObserver(_ rl: CFRunLoop!, _ observer: CFRunLoopObserver!, _ mode: CFRunLoopMode!)
```

## Parameters

- `rl`: The run loop to modify.
- `observer`: The run loop observer to remove.
- `mode`: The run loop mode of rl from which to remove observer. Use the constant doc://com.apple.corefoundation/documentation/CoreFoundation/CFRunLoopMode/commonModes to remove observer from the set of objects monitored by all the common modes.

## Discussion

Discussion If rl does not contain observer in mode, this function does nothing.

## See Also

### Managing Observers

- [CFRunLoopAddObserver(_:_:_:)](corefoundation/cfrunloopaddobserver(_:_:_:).md)
- [CFRunLoopContainsObserver(_:_:_:)](corefoundation/cfrunloopcontainsobserver(_:_:_:).md)
