Response Codes

Response codes identifying the button that was pressed to dismiss a notification dialog.

Overview

To extract this value from the response flags of a dismissed notification (such as returned by CFUserNotificationReceiveResponse(_:_:_:)), you must perform a bitwise-AND operation between the returned response flags and 0x3 before comparing the value to these constants.

Topics

Constants

var kCFUserNotificationCancelResponse: CFOptionFlags

No button was pressed and the notification timed out.