Push Notifications
suggest changeSyntax
UIUserNotificationSettings was deprecated in iOS 10. Register with UNUserNotificationCenter instead.
types: a bitmask ofUIUserNotificationType, the notification types the app is allowed to usecategories: the app’s registered groups of actions (Set/NSSet)
Parameters
userInfo on a remote notification:
| Parameter | Description |
|---|---|
| userInfo | A dictionary that contains remote notification info, potentially including a badge number for the app icon, alert sound, alert message, a notification identifier, and custom data. |
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents