One Logo Pool Ball
UIKit · IOS API REFERENCE

UIAccessibilityCustomAction

class · iOS 8.0+ · SDK 27.1

@MainActor class UIAccessibilityCustomAction

Members (12)

get · iOS 18.0+

editCategory

TypeScript
static get editCategory(): Promise<string>
Swift declaration
nonisolated class let editCategory: String
get · iOS 13.0+

actionHandler

TypeScript
get actionHandler(): Promise<(((arg0: UIAccessibilityCustomAction) => Promise<boolean>)) | null>
Swift declaration
var actionHandler: UIAccessibilityCustomAction.Handler? { get set }
get · iOS 11.0+

attributedName

TypeScript
get attributedName(): Promise<_Foundation_NSAttributedString>
Swift declaration
@NSCopying var attributedName: NSAttributedString { get set }
set · iOS 11.0+

attributedName

TypeScript
setAttributedName(value: _Foundation_NSAttributedString): Promise<void>
Swift declaration
@NSCopying var attributedName: NSAttributedString { get set }
get · iOS 18.0+

category

TypeScript
get category(): Promise<(string) | null>
Swift declaration
var category: String? { get set }
set · iOS 18.0+

category

TypeScript
setCategory(value?: (string) | null): Promise<void>
Swift declaration
var category: String? { get set }
get · iOS 8.0+

image

TypeScript
get image(): Promise<(UIImage) | null>
Swift declaration
var image: UIImage? { get set }
set · iOS 8.0+

image

TypeScript
setImage(value?: (UIImage) | null): Promise<void>
Swift declaration
var image: UIImage? { get set }
get · iOS 8.0+

name

TypeScript
get name(): Promise<string>
Swift declaration
var name: String { get set }
set · iOS 8.0+

name

TypeScript
setName(value: string): Promise<void>
Swift declaration
var name: String { get set }
get · iOS 8.0+

target

TypeScript
get target(): Promise<(unknown) | null>
Swift declaration
weak var target: AnyObject? { get set }
set · iOS 8.0+

target

TypeScript
setTarget(value?: (unknown) | null): Promise<void>
Swift declaration
weak var target: AnyObject? { get set }

Skipped declarations

11 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

UIAccessibilityCustomAction.init(name:target:selector:)

Objective-C selectors cannot cross the bridge.

UIAccessibilityCustomAction.init(attributedName:target:selector:)

Objective-C selectors cannot cross the bridge.

UIAccessibilityCustomAction.init(name:image:target:selector:)

Objective-C selectors cannot cross the bridge.

UIAccessibilityCustomAction.init(attributedName:image:target:selector:)

Objective-C selectors cannot cross the bridge.

UIAccessibilityCustomAction.init(name:actionHandler:)

callback cannot propagate synchronous failure

UIAccessibilityCustomAction.init(attributedName:actionHandler:)

callback cannot propagate synchronous failure

UIAccessibilityCustomAction.init(name:image:actionHandler:)

callback cannot propagate synchronous failure

UIAccessibilityCustomAction.init(attributedName:image:actionHandler:)

callback cannot propagate synchronous failure

UIAccessibilityCustomAction.selector

Objective-C selectors cannot cross the bridge.

UIAccessibilityCustomAction.actionHandler

closure property answers its caller

UIAccessibilityCustomAction.init()

inherited init: cannot prove legal (class declares 8 custom initializers)

All UIKit types →