One Logo Pool Ball
UIKit · IOS API REFERENCE

UIHingeInteraction

class · iOS 27.1+ · SDK 27.1

@MainActor class UIHingeInteraction

Members (3)

init · iOS 27.1+

init

TypeScript
static init(updateHandler: ((arg0: UIHingeInteraction, arg1: UIHingeInteraction_Update) => void)): Promise<UIHingeInteraction>
Swift declaration
init(updateHandler: @escaping (UIHingeInteraction, UIHingeInteraction.Update) -> Void)
get · iOS 27.1+

isEnabled

TypeScript
get isEnabled(): Promise<boolean>
Swift declaration
var isEnabled: Bool { get set }
set · iOS 27.1+

isEnabled

TypeScript
setIsEnabled(value: boolean): Promise<void>
Swift declaration
var isEnabled: Bool { get set }

Skipped declarations

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

UIHingeInteraction.init()

inherited init: cannot prove legal (class declares 1 custom initializer)

All UIKit types →