Contents

CFUserNotificationSecureTextField(_:)

Returns a flag used to set the secure state of a text field.

Declaration

func CFUserNotificationSecureTextField(_ i: CFIndex) -> CFOptionFlags

Parameters

  • i:

    The index of the text field to make secure. The index corresponds to the order in which the text fields are listed in the Kcfusernotificationtextfieldtitleskey array of the user notification’s description dictionary. idx must be in the range 0 to 7.

Return Value

A flag that can be used to set the secure state of a text field when creating a user notification with CFUserNotificationCreate(_:_:_:_:_:).

See Also

CFUserNotification Miscellaneous Functions