Response Codes

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


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.



var kCFUserNotificationCancelResponse: CFOptionFlags

No button was pressed and the notification timed out.