CFUserNotificationPopUpSelection(_:)
Returns a flag used to set the selected element of a pop-up menu.
Declaration
func CFUserNotificationPopUpSelection(_ n: CFIndex) -> CFOptionFlagsParameters
- n:
The index of the pop-up menu element to select. The index corresponds to the order in which the pop-up menu elements are listed in the Kcfusernotificationpopuptitleskey array of the user notification’s description dictionary.
idxmust be in the range0to255.
Return Value
A flag that can be used to set the selected element of a pop-up menu when creating a user notification with CFUserNotificationCreate(_:_:_:_:_:).
See Also
CFUserNotification Miscellaneous Functions
CFUserNotificationCancel(_:)CFUserNotificationCheckBoxChecked(_:)CFUserNotificationCreate(_:_:_:_:_:)CFUserNotificationCreateRunLoopSource(_:_:_:_:)CFUserNotificationDisplayAlert(_:_:_:_:_:_:_:_:_:_:_:)CFUserNotificationDisplayNotice(_:_:_:_:_:_:_:_:)CFUserNotificationGetResponseDictionary(_:)CFUserNotificationGetResponseValue(_:_:_:)CFUserNotificationGetTypeID()CFUserNotificationReceiveResponse(_:_:_:)CFUserNotificationSecureTextField(_:)CFUserNotificationUpdate(_:_:_:_:)