One Logo Pool Ball
UIKit · IOS API REFERENCE

UIEvent.ButtonMask

struct · iOS 13.4+ · SDK 27.1

struct ButtonMask

Members (3)

get · iOS 13.4+

primary

TypeScript
get primary(): Promise<UIEvent_ButtonMask>
Swift declaration
static var primary: UIEvent.ButtonMask { get }
get · iOS 13.4+

secondary

TypeScript
get secondary(): Promise<UIEvent_ButtonMask>
Swift declaration
static var secondary: UIEvent.ButtonMask { get }
init · iOS 13.4+

init

TypeScript
init(rawValue: number): Promise<UIEvent_ButtonMask>
Swift declaration
init(rawValue: Int)

Skipped declarations

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

UIEvent.ButtonMask.button(_:)

The iOS SDK compiler rejected this binding: type 'UIEvent.ButtonMask' has no member 'button'

All UIKit types →