{"abstract":[{"text":"The behaviors you can apply to an action.","type":"text"}],"hierarchy":{"paths":[["doc:\/\/com.apple.documentation\/documentation\/technologies","doc:\/\/com.apple.usernotifications\/documentation\/UserNotifications"]]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/com.apple.usernotifications\/documentation\/UserNotifications\/UNNotificationActionOptions"},"kind":"symbol","legalNotices":{"copyright":"Copyright &copy; 2026 Apple Inc. All rights reserved.","privacyPolicy":"https:\/\/www.apple.com\/privacy\/privacy-policy","termsOfUse":"https:\/\/www.apple.com\/legal\/internet-services\/terms\/site.html"},"metadata":{"availableLanguages":["de-DE","en-US","es-419","fr-FR","it-IT","ja-JP","ko-KR","pt-BR","zh-CN"],"externalID":"c:@E@UNNotificationActionOptions","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"UNNotificationActionOptions"}],"modules":[{"name":"User Notifications"}],"navigatorTitle":[{"kind":"identifier","text":"UNNotificationActionOptions"}],"platforms":[{"introducedAt":"10.0","name":"iOS"},{"introducedAt":"10.0","name":"iPadOS"},{"introducedAt":"13.1","name":"Mac Catalyst"},{"introducedAt":"10.14","name":"macOS"},{"introducedAt":"1.0","name":"visionOS"},{"introducedAt":"3.0","name":"watchOS"}],"role":"symbol","roleHeading":"Structure","symbolKind":"struct","title":"UNNotificationActionOptions"},"primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["iOS","iPadOS","Mac Catalyst","macOS","visionOS","watchOS"],"tokens":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"UNNotificationActionOptions"}]}],"kind":"declarations"}],"relationshipsSections":[{"identifiers":["doc:\/\/com.apple.documentation\/documentation\/Swift\/BitwiseCopyable","doc:\/\/com.apple.documentation\/documentation\/Swift\/Equatable","doc:\/\/com.apple.documentation\/documentation\/Swift\/ExpressibleByArrayLiteral","doc:\/\/com.apple.documentation\/documentation\/Swift\/OptionSet","doc:\/\/com.apple.documentation\/documentation\/Swift\/RawRepresentable","doc:\/\/com.apple.documentation\/documentation\/Swift\/Sendable","doc:\/\/com.apple.documentation\/documentation\/Swift\/SendableMetatype","doc:\/\/com.apple.documentation\/documentation\/Swift\/SetAlgebra"],"kind":"relationships","title":"Conforms To","type":"conformsTo"}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"seeAlsoSections":[{"anchor":"Getting-Options","generated":true,"identifiers":["doc:\/\/com.apple.usernotifications\/documentation\/UserNotifications\/UNNotificationAction\/options"],"title":"Getting Options"}],"topicSections":[{"anchor":"Initializers","identifiers":["doc:\/\/com.apple.usernotifications\/documentation\/UserNotifications\/UNNotificationActionOptions\/init(rawValue:)"],"title":"Initializers"},{"anchor":"Constants","identifiers":["doc:\/\/com.apple.usernotifications\/documentation\/UserNotifications\/UNNotificationActionOptions\/authenticationRequired","doc:\/\/com.apple.usernotifications\/documentation\/UserNotifications\/UNNotificationActionOptions\/destructive","doc:\/\/com.apple.usernotifications\/documentation\/UserNotifications\/UNNotificationActionOptions\/foreground"],"title":"Constants"}],"variants":[{"paths":["\/documentation\/usernotifications\/unnotificationactionoptions"],"traits":[{"interfaceLanguage":"swift"}]},{"paths":["\/documentation\/usernotifications\/unnotificationactionoptions"],"traits":[{"interfaceLanguage":"occ"}]}],"references":{"UserNotifications-PageImage-card.png":{"alt":"[A notification interface displayed on the lock screen of an iOS device.]","identifier":"UserNotifications-PageImage-card.png","type":"image","variants":[{"traits":["2x","light"],"url":"\/images\/com.apple.usernotifications\/UserNotifications-PageImage-card@2x.png"},{"traits":["2x","dark"],"url":"\/images\/com.apple.usernotifications\/UserNotifications-PageImage-card~dark@2x.png"}]},"doc://com.apple.documentation/documentation/Swift/BitwiseCopyable":{"abstract":[],"fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"BitwiseCopyable"}],"identifier":"doc:\/\/com.apple.documentation\/documentation\/Swift\/BitwiseCopyable","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"BitwiseCopyable"}],"role":"symbol","title":"BitwiseCopyable","type":"topic","url":"\/documentation\/swift\/bitwisecopyable"},"doc://com.apple.documentation/documentation/Swift/Equatable":{"abstract":[{"text":"A type that can be compared for value equality.","type":"text"}],"fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"Equatable"}],"identifier":"doc:\/\/com.apple.documentation\/documentation\/Swift\/Equatable","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"Equatable"}],"role":"symbol","title":"Equatable","type":"topic","url":"\/documentation\/swift\/equatable"},"doc://com.apple.documentation/documentation/Swift/ExpressibleByArrayLiteral":{"abstract":[{"text":"A type that can be initialized using an array literal.","type":"text"}],"fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"ExpressibleByArrayLiteral"}],"identifier":"doc:\/\/com.apple.documentation\/documentation\/Swift\/ExpressibleByArrayLiteral","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"ExpressibleByArrayLiteral"}],"role":"symbol","title":"ExpressibleByArrayLiteral","type":"topic","url":"\/documentation\/swift\/expressiblebyarrayliteral"},"doc://com.apple.documentation/documentation/Swift/OptionSet":{"abstract":[{"text":"A type that presents a mathematical set interface to a bit set.","type":"text"}],"fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"OptionSet"}],"identifier":"doc:\/\/com.apple.documentation\/documentation\/Swift\/OptionSet","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"OptionSet"}],"role":"symbol","title":"OptionSet","type":"topic","url":"\/documentation\/swift\/optionset"},"doc://com.apple.documentation/documentation/Swift/RawRepresentable":{"abstract":[{"text":"A type that can be converted to and from an associated raw value.","type":"text"}],"fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"RawRepresentable"}],"identifier":"doc:\/\/com.apple.documentation\/documentation\/Swift\/RawRepresentable","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"RawRepresentable"}],"role":"symbol","title":"RawRepresentable","type":"topic","url":"\/documentation\/swift\/rawrepresentable"},"doc://com.apple.documentation/documentation/Swift/Sendable":{"abstract":[{"text":"A thread-safe type whose values can be shared across arbitrary concurrent","type":"text"},{"text":" ","type":"text"},{"text":"contexts without introducing a risk of data races.","type":"text"}],"fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"Sendable"}],"identifier":"doc:\/\/com.apple.documentation\/documentation\/Swift\/Sendable","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"Sendable"}],"role":"symbol","title":"Sendable","type":"topic","url":"\/documentation\/swift\/sendable"},"doc://com.apple.documentation/documentation/Swift/SendableMetatype":{"abstract":[{"text":"A type whose metatype can be shared across arbitrary isolation domains","type":"text"},{"text":" ","type":"text"},{"text":"without introducing a risk of data races.","type":"text"}],"fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"SendableMetatype"}],"identifier":"doc:\/\/com.apple.documentation\/documentation\/Swift\/SendableMetatype","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"SendableMetatype"}],"role":"symbol","title":"SendableMetatype","type":"topic","url":"\/documentation\/swift\/sendablemetatype"},"doc://com.apple.documentation/documentation/Swift/SetAlgebra":{"abstract":[{"text":"A type that provides mathematical set operations.","type":"text"}],"fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"SetAlgebra"}],"identifier":"doc:\/\/com.apple.documentation\/documentation\/Swift\/SetAlgebra","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"SetAlgebra"}],"role":"symbol","title":"SetAlgebra","type":"topic","url":"\/documentation\/swift\/setalgebra"},"doc://com.apple.documentation/documentation/technologies":{"abstract":[],"identifier":"doc:\/\/com.apple.documentation\/documentation\/technologies","kind":"technologies","role":"overview","title":"Technologies","type":"topic","url":"\/documentation\/technologies"},"doc://com.apple.usernotifications/documentation/UserNotifications":{"abstract":[{"text":"Push user-facing notifications to the user’s device from a server, or generate them locally from your app.","type":"text"}],"identifier":"doc:\/\/com.apple.usernotifications\/documentation\/UserNotifications","images":[{"identifier":"UserNotifications-PageImage-card.png","type":"card"}],"kind":"symbol","navigatorTitle":[{"kind":"text","text":"User Notifications"}],"role":"collection","title":"User Notifications","type":"topic","url":"\/documentation\/usernotifications"},"doc://com.apple.usernotifications/documentation/UserNotifications/UNNotificationAction/options":{"abstract":[{"text":"The behaviors associated with the action.","type":"text"}],"fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"options"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"c:@E@UNNotificationActionOptions","text":"UNNotificationActionOptions"}],"identifier":"doc:\/\/com.apple.usernotifications\/documentation\/UserNotifications\/UNNotificationAction\/options","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"options"}],"role":"symbol","title":"options","type":"topic","url":"\/documentation\/usernotifications\/unnotificationaction\/options"},"doc://com.apple.usernotifications/documentation/UserNotifications/UNNotificationActionOptionNone":{"abstract":[{"text":"The action has the default behavior.","type":"text"}],"fragments":[{"kind":"identifier","text":"UNNotificationActionOptionNone"}],"identifier":"doc:\/\/com.apple.usernotifications\/documentation\/UserNotifications\/UNNotificationActionOptionNone","kind":"symbol","role":"symbol","title":"UNNotificationActionOptionNone","type":"topic","url":"\/documentation\/usernotifications\/unnotificationactionoptionnone"},"doc://com.apple.usernotifications/documentation/UserNotifications/UNNotificationActionOptions":{"abstract":[{"text":"The behaviors you can apply to an action.","type":"text"}],"fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"UNNotificationActionOptions"}],"identifier":"doc:\/\/com.apple.usernotifications\/documentation\/UserNotifications\/UNNotificationActionOptions","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"UNNotificationActionOptions"}],"role":"symbol","title":"UNNotificationActionOptions","type":"topic","url":"\/documentation\/usernotifications\/unnotificationactionoptions"},"doc://com.apple.usernotifications/documentation/UserNotifications/UNNotificationActionOptions/authenticationRequired":{"abstract":[{"text":"The action can be performed only on an unlocked device.","type":"text"}],"fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"authenticationRequired"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"c:@E@UNNotificationActionOptions","text":"UNNotificationActionOptions"}],"identifier":"doc:\/\/com.apple.usernotifications\/documentation\/UserNotifications\/UNNotificationActionOptions\/authenticationRequired","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"UNNotificationActionOptionAuthenticationRequired"}],"role":"symbol","title":"authenticationRequired","type":"topic","url":"\/documentation\/usernotifications\/unnotificationactionoptions\/authenticationrequired"},"doc://com.apple.usernotifications/documentation/UserNotifications/UNNotificationActionOptions/destructive":{"abstract":[{"text":"The action performs a destructive task.","type":"text"}],"fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"destructive"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"c:@E@UNNotificationActionOptions","text":"UNNotificationActionOptions"}],"identifier":"doc:\/\/com.apple.usernotifications\/documentation\/UserNotifications\/UNNotificationActionOptions\/destructive","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"UNNotificationActionOptionDestructive"}],"role":"symbol","title":"destructive","type":"topic","url":"\/documentation\/usernotifications\/unnotificationactionoptions\/destructive"},"doc://com.apple.usernotifications/documentation/UserNotifications/UNNotificationActionOptions/foreground":{"abstract":[{"text":"The action causes the app to launch in the foreground.","type":"text"}],"fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"foreground"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"c:@E@UNNotificationActionOptions","text":"UNNotificationActionOptions"}],"identifier":"doc:\/\/com.apple.usernotifications\/documentation\/UserNotifications\/UNNotificationActionOptions\/foreground","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"UNNotificationActionOptionForeground"}],"role":"symbol","title":"foreground","type":"topic","url":"\/documentation\/usernotifications\/unnotificationactionoptions\/foreground"},"doc://com.apple.usernotifications/documentation/UserNotifications/UNNotificationActionOptions/init(rawValue:)":{"abstract":[{"text":"Initializes an action options object using the specified raw value.","type":"text"}],"fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"rawValue"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:Su","text":"UInt"},{"kind":"text","text":")"}],"identifier":"doc:\/\/com.apple.usernotifications\/documentation\/UserNotifications\/UNNotificationActionOptions\/init(rawValue:)","kind":"symbol","role":"symbol","title":"init(rawValue:)","type":"topic","url":"\/documentation\/usernotifications\/unnotificationactionoptions\/init(rawvalue:)"}},"variantOverrides":[{"patch":[{"op":"replace","path":"\/identifier\/interfaceLanguage","value":"occ"},{"op":"replace","path":"\/metadata\/platforms","value":[{"introducedAt":"10.0","name":"iOS"},{"introducedAt":"10.0","name":"iPadOS"},{"introducedAt":"13.1","name":"Mac Catalyst"},{"introducedAt":"10.14","name":"macOS"},{"introducedAt":"1.0","name":"visionOS"},{"introducedAt":"3.0","name":"watchOS"}]},{"op":"replace","path":"\/metadata\/roleHeading","value":"Enumeration"},{"op":"replace","path":"\/metadata\/title","value":"UNNotificationActionOptions"},{"op":"replace","path":"\/metadata\/symbolKind","value":"enum"},{"op":"replace","path":"\/metadata\/fragments","value":[{"kind":"identifier","text":"UNNotificationActionOptions"}]},{"op":"replace","path":"\/metadata\/navigatorTitle","value":[{"kind":"identifier","text":"UNNotificationActionOptions"}]},{"op":"replace","path":"\/hierarchy","value":{"paths":[["doc:\/\/com.apple.documentation\/documentation\/technologies","doc:\/\/com.apple.usernotifications\/documentation\/UserNotifications"]]}},{"op":"replace","path":"\/topicSections","value":[{"anchor":"Constants","identifiers":["doc:\/\/com.apple.usernotifications\/documentation\/UserNotifications\/UNNotificationActionOptions\/authenticationRequired","doc:\/\/com.apple.usernotifications\/documentation\/UserNotifications\/UNNotificationActionOptions\/destructive","doc:\/\/com.apple.usernotifications\/documentation\/UserNotifications\/UNNotificationActionOptions\/foreground"],"title":"Constants"}]},{"op":"replace","path":"\/relationshipsSections","value":null},{"op":"replace","path":"\/seeAlsoSections","value":[{"anchor":"Getting-Options","generated":true,"identifiers":["doc:\/\/com.apple.usernotifications\/documentation\/UserNotifications\/UNNotificationAction\/options","doc:\/\/com.apple.usernotifications\/documentation\/UserNotifications\/UNNotificationActionOptionNone"],"title":"Getting Options"}]},{"op":"replace","path":"\/primaryContentSections\/0","value":{"declarations":[{"languages":["occ"],"platforms":["iOS","iPadOS","Mac Catalyst","macOS","tvOS","visionOS","watchOS"],"tokens":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"UNNotificationActionOptions"},{"kind":"text","text":" : "},{"kind":"typeIdentifier","preciseIdentifier":"c:@T@NSUInteger","text":"NSUInteger"},{"kind":"text","text":";"}]}],"kind":"declarations"}},{"op":"replace","path":"\/references\/doc:~1~1com.apple.usernotifications~1documentation~1UserNotifications~1UNNotificationAction~1options\/title","value":"options"},{"op":"replace","path":"\/references\/doc:~1~1com.apple.usernotifications~1documentation~1UserNotifications~1UNNotificationAction~1options\/fragments","value":[{"kind":"identifier","text":"options"}]},{"op":"replace","path":"\/references\/doc:~1~1com.apple.usernotifications~1documentation~1UserNotifications~1UNNotificationActionOptions\/title","value":"UNNotificationActionOptions"},{"op":"replace","path":"\/references\/doc:~1~1com.apple.usernotifications~1documentation~1UserNotifications~1UNNotificationActionOptions\/fragments","value":[{"kind":"identifier","text":"UNNotificationActionOptions"}]},{"op":"replace","path":"\/references\/doc:~1~1com.apple.usernotifications~1documentation~1UserNotifications~1UNNotificationActionOptions\/navigatorTitle","value":[{"kind":"identifier","text":"UNNotificationActionOptions"}]},{"op":"replace","path":"\/references\/doc:~1~1com.apple.usernotifications~1documentation~1UserNotifications~1UNNotificationActionOptions~1authenticationRequired\/title","value":"UNNotificationActionOptionAuthenticationRequired"},{"op":"replace","path":"\/references\/doc:~1~1com.apple.usernotifications~1documentation~1UserNotifications~1UNNotificationActionOptions~1authenticationRequired\/fragments","value":[{"kind":"identifier","text":"UNNotificationActionOptionAuthenticationRequired"}]},{"op":"replace","path":"\/references\/doc:~1~1com.apple.usernotifications~1documentation~1UserNotifications~1UNNotificationActionOptions~1destructive\/title","value":"UNNotificationActionOptionDestructive"},{"op":"replace","path":"\/references\/doc:~1~1com.apple.usernotifications~1documentation~1UserNotifications~1UNNotificationActionOptions~1destructive\/fragments","value":[{"kind":"identifier","text":"UNNotificationActionOptionDestructive"}]},{"op":"replace","path":"\/references\/doc:~1~1com.apple.usernotifications~1documentation~1UserNotifications~1UNNotificationActionOptions~1foreground\/title","value":"UNNotificationActionOptionForeground"},{"op":"replace","path":"\/references\/doc:~1~1com.apple.usernotifications~1documentation~1UserNotifications~1UNNotificationActionOptions~1foreground\/fragments","value":[{"kind":"identifier","text":"UNNotificationActionOptionForeground"}]}],"traits":[{"interfaceLanguage":"occ"}]}]}