The type of event that generated the notification.
SDKs
- iOS 8.0+
- macOS 10.10+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 3.0+
Framework
- Cloud
Kit
Declaration
@property(nonatomic, readonly, assign) CKNotification Type notificationType;
Discussion
Different notification types correspond to different subclasses of CKNotification
, so you can use the value in this property to determine how to handle the notification data.