init(fromRemoteNotificationDictionary:)
Creates a new notification using the specified payload data.
Declaration
convenience init?(fromRemoteNotificationDictionary notificationDictionary: [AnyHashable : Any])Parameters
- notificationDictionary:
The push notification’s payload data. Use the dictionary that the system provides to your app delegate’s Application(_:didreceiveremotenotification:fetchcompletionhandler:) method. This parameter must not be
nil.