you with a list of the app’s notifications that are still displayed in Notification Center. • removeDeliveredNotificationsWithIdentifiers: - Removes the specified notifications from Notification Center. • removeAllDeliveredNotifications - Removes all of the app’s notifications from Notification Center.
when a notification is delivered to a foreground app. • Options: Alert, Badge and Sound. - Alert looks similar to regular alert boxes. • Good place to override system UI for your own… (and update your app accordingly)
Called to let your app know which action was selected by the user for a given notification. • UNNotificationResponse - DismissedAction and DefaultAction constants • UNTextInputNotificationResponse - Text typed in as property
all apps in iOS 11 • Important for privacy of the user - often notification content is sensitive • Users tweak per application, because some could be more sensitive than others • Default hidden text is “Notification”
the hidden “default” text as a developer. • Respects thread-id if you’re using those and notification service extensions • Respects collapsible notifications • Supports notifications with images
given channel, in an optional group • End users can tweak notification settings per channel/group • Developers are encouraged to split notifications into logical channels/groups
of us to educate consumers about these settings • Deep link to settings screen • Consider not exposing these settings in your own app to avoid confusion • Group into logical groups and channels • If targeting O, must use Channels - If not, you can use it without worrying
• You can register Categories on launch, with buttons, text input, notification services and extensions. • Users not offered fine grain control over category alerts though. • Worth looking into, all new in iOS 8!