Adds a notification to the notification queue with a specified posting style.
- iOS 2.0+
- macOS 10.0+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
- watchOS 2.0+
The notification to add to the queue.
The posting style for the notification. The posting style indicates when the notification queue should post the notification to its notification center.
This is a convenience method for calling
enqueue with coalescing criteria that will coalesce only notifications that match both the notification’s name and object and the runloop mode