CFUserNotificationGetResponseValue(_:_:_:)
Extracts the values of the text fields from a dismissed notification dialog.
Declaration
func CFUserNotificationGetResponseValue(_ userNotification: CFUserNotification!, _ key: CFString!, _ idx: CFIndex) -> CFString!Parameters
- userNotification:
The user notification to use.
- key:
The dictionary key identifying the text fields to use. Currently, only Kcfusernotificationtextfieldvalueskey is supported.
- idx:
The index of the text field value to return. The index corresponds to the order in which text fields are listed in the Kcfusernotificationtextfieldtitleskey array in the user notification’s description dictionary.
Return Value
The value of the text field identified by key and idx. Ownership follows the The Get Rule.
See Also
CFUserNotification Miscellaneous Functions
CFUserNotificationCancel(_:)CFUserNotificationCheckBoxChecked(_:)CFUserNotificationCreate(_:_:_:_:_:)CFUserNotificationCreateRunLoopSource(_:_:_:_:)CFUserNotificationDisplayAlert(_:_:_:_:_:_:_:_:_:_:_:)CFUserNotificationDisplayNotice(_:_:_:_:_:_:_:_:)CFUserNotificationGetResponseDictionary(_:)CFUserNotificationGetTypeID()CFUserNotificationPopUpSelection(_:)CFUserNotificationReceiveResponse(_:_:_:)CFUserNotificationSecureTextField(_:)CFUserNotificationUpdate(_:_:_:_:)