Expand description
Push user-facing notifications to the user’s device from a server, or generate them locally from your app.
Structs§
- UNCalendar
Notification Trigger - UNLocation
Notification Trigger - A trigger condition that causes the system to deliver a notification when the user’s device enters or exits a geographic region you specify.
- UNMutable
Notification Content - The editable content for a notification.
- UNNotification
- The data for a local or remote notification the system delivers to your app.
- UNNotification
Action - UNNotification
Action Icon - UNNotification
Attachment - A media file associated with a notification.
- UNNotification
Category - A type of notification your app supports and the custom actions that the system displays.
- UNNotification
Content - The uneditable content of a notification.
- UNNotification
Content Providing - A protocol the system uses to provide context relevant to user notifications.
- UNNotification
Request - A request to schedule a local notification, which includes the content of the notification and the trigger conditions for delivery.
- UNNotification
Response - The user’s response to an actionable notification.
- UNNotification
Service Extension - An object that modifies the content of a remote notification before it’s delivered to the user.
- UNNotification
Settings - The object for managing notification-related settings and the authorization status of your app.
- UNNotification
Sound - The sound played upon delivery of a notification.
- UNNotification
Trigger - The common behavior for subclasses that trigger the delivery of a local or remote notification.
- UNPush
Notification Trigger - A trigger condition that indicates Apple Push Notification Service (APNs) has sent the notification.
- UNText
Input Notification Action - UNText
Input Notification Response - The user’s response to an actionable notification, including any custom text that the user typed or dictated.
- UNTime
Interval Notification Trigger - A trigger condition that causes the system to deliver a notification after the amount of time you specify elapses.
- UNUser
Notification Center - The central object for managing notification-related activities for your app or app extension.
Enums§
- UNAlert
Style - Constants indicating the presentation styles for alerts.
- UNAuthorization
Options - Options that determine the authorized features of local and remote notifications.
- UNAuthorization
Status - Constants indicating whether the app is allowed to schedule notifications.
- UNError
Code - Constants that identify notification errors.
- UNNotification
Action Options - UNNotification
Category Options - UNNotification
Interruption Level - UNNotification
Presentation Options - Constants indicating how to present a notification in a foreground app.
- UNNotification
Setting - Constants that indicate the current status of a notification setting.
- UNShow
Previews Setting - Constants indicating the style previewing a notification’s content.
Statics§
- UNNotification
Attachment ⚠Options Thumbnail Clipping Rect Key - The clipping rectangle for a thumbnail image.
- UNNotification
Attachment ⚠Options Thumbnail Hidden Key - A Boolean value indicating whether the system hides the attachment’s thumbnail.
- UNNotification
Attachment ⚠Options Thumbnail Time Key - The frame number of an animation to use as a thumbnail image.
- UNNotification
Attachment ⚠Options Type Hint Key - A hint about an attachment’s file type.
- UNUSER_
NOTIFICATION_ CENTER_ PTR - Pointer for
UNUserNotificationCenter
Traits§
- IUNCalendar
Notification Trigger - A trait containing all the methods for
UNCalendarNotificationTrigger
- IUNLocation
Notification Trigger - A trait containing all the methods for
UNLocationNotificationTrigger
- IUNMutable
Notification Content - A trait containing all the methods for
UNMutableNotificationContent
- IUNNotification
- A trait containing all the methods for
UNNotification
- IUNNotification
Action - A trait containing all the methods for
UNNotificationAction
- IUNNotification
Action Icon - A trait containing all the methods for
UNNotificationActionIcon
- IUNNotification
Attachment - A trait containing all the methods for
UNNotificationAttachment
- IUNNotification
Category - A trait containing all the methods for
UNNotificationCategory
- IUNNotification
Content - A trait containing all the methods for
UNNotificationContent
- IUNNotification
Request - A trait containing all the methods for
UNNotificationRequest
- IUNNotification
Response - A trait containing all the methods for
UNNotificationResponse
- IUNNotification
Service Extension - A trait containing all the methods for
UNNotificationServiceExtension
- IUNNotification
Settings - A trait containing all the methods for
UNNotificationSettings
- IUNNotification
Sound - A trait containing all the methods for
UNNotificationSound
- IUNNotification
Trigger - A trait containing all the methods for
UNNotificationTrigger
- IUNPush
Notification Trigger - A trait containing all the methods for
UNPushNotificationTrigger
- IUNText
Input Notification Action - A trait containing all the methods for
UNTextInputNotificationAction
- IUNText
Input Notification Response - A trait containing all the methods for
UNTextInputNotificationResponse
- IUNTime
Interval Notification Trigger - A trait containing all the methods for
UNTimeIntervalNotificationTrigger
- IUNUser
Notification Center - A trait containing all the methods for
UNUserNotificationCenter
- PUNUser
Notification Center Delegate - An interface for processing incoming notifications and responding to notification actions.
Functions§
- register_
user_ notification_ center_ delegate_ class - Registers an
NSObject
application delegate, and configures it for the various callbacks and pointers we need to have.