Enumeration

Alert Levels

Flags identifying the seriousness of a user notification.

Declaration

iOS, Mac Catalyst, tvOS, watchOS
enum : CFOptionFlags;
macOS
enum : CFOptionFlags {
    ...
};

Overview

If you specify an icon to display in the dialog, this icon overrides the default icon used for each alert level.

Topics

Constants

kCFUserNotificationStopAlertLevel

The notification is very serious.

kCFUserNotificationNoteAlertLevel

The notification is not very serious.

kCFUserNotificationCautionAlertLevel

The notification is somewhat serious.

kCFUserNotificationPlainAlertLevel

The notification is not serious.