Returns the application’s Darwin notification center.
- iOS 2.0+
- macOS 10.4+
- tvOS 9.0+
- watchOS 2.0+
- Core Foundation
The application’s Darwin notification center.
This notification center is used to cover the
<notify Core OS notification mechanism (see
/usr/include/notify). An application has only one Darwin notification center, so this function returns the same value each time it is called.
The Darwin Notify Center has no notion of per-user sessions, all notifications are system-wide. As with distributed notifications, the main thread's run loop must be running in one of the common modes (usually
k) for Darwin-style notifications to be delivered.