Stops an observer from receiving certain notifications.
- iOS 2.0+
- macOS 10.0+
- tvOS 9.0+
- watchOS 2.0+
- Mac Catalyst 13.0+Beta
- Core Foundation
The notification center to modify.
The observer. This value must not be
The name of the notification to stop observing. If
observerstops receiving callbacks for all notifications posted by
The object to stop observing. For distributed notifications,
objectmust be a CFString object. If
observerstops receiving callbacks for all objects posting notifications named
centeris a Darwin notification center, this value is ignored.
NULL, this function unregisters
observer from all the notifications for which it had previously registered with