Stats

1558 Contributors: 14 Tuesday, July 4, 2017
Licensed under: CC-BY-SA
Not affiliated with Stack Overflow
Rip Tutorial: riptutorial@gmail.com
Roadmap: roadmap

Push Notifications

Syntax

  • UIUserNotificationSettings.types: UIUserNotificationType // A bitmask of the notification types that your app is allowed to use
  • UIUserNotificationSettings.categories: Set // The app’s registered groups of actions

Parameters

ParameterDescription
userInfoA 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.

Related Examples