One Logo Pool Ball
UIKit · IOS API REFERENCE

UIUpdateLink

class · iOS 18.0+ · SDK 27.1

@MainActor class UIUpdateLink

Members (17)

init · iOS 18.0+

init

TypeScript
static initView(view: UIView): Promise<UIUpdateLink>
Swift declaration
init(view: UIView)
init

init

TypeScript
static initViewActionHandler(view: UIView, handler: ((arg0: UIUpdateLink, arg1: UIUpdateInfo) => void)): Promise<UIUpdateLink>
Swift declaration
init(view: UIView, actionHandler handler: @escaping (UIUpdateLink, UIUpdateInfo) -> Void)
init · iOS 18.0+

init

TypeScript
static initWindowScene(windowScene: UIWindowScene): Promise<UIUpdateLink>
Swift declaration
init(windowScene: UIWindowScene)
init

init

TypeScript
static initWindowSceneActionHandler(windowScene: UIWindowScene, handler: ((arg0: UIUpdateLink, arg1: UIUpdateInfo) => void)): Promise<UIUpdateLink>
Swift declaration
init(windowScene: UIWindowScene, actionHandler handler: @escaping (UIUpdateLink, UIUpdateInfo) -> Void)
method · iOS 18.0+

addAction

TypeScript
addActionToHandler(phase: UIUpdateActionPhase, handler: ((arg0: UIUpdateLink, arg1: UIUpdateInfo) => void)): Promise<void>
Swift declaration
func addAction(to phase: UIUpdateActionPhase, handler: @escaping (UIUpdateLink, UIUpdateInfo) -> Void)
method

addAction

TypeScript
addActionHandler(handler: ((arg0: UIUpdateLink, arg1: UIUpdateInfo) => void)): Promise<void>
Swift declaration
func addAction(handler: @escaping (UIUpdateLink, UIUpdateInfo) -> Void)
method · iOS 18.0+

currentUpdateInfo

TypeScript
currentUpdateInfo(): Promise<(UIUpdateInfo) | null>
Swift declaration
func currentUpdateInfo() -> UIUpdateInfo?
get · iOS 18.0+

isEnabled

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

isEnabled

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

preferredFrameRateRange

TypeScript
get preferredFrameRateRange(): Promise<_QuartzCore_CAFrameRateRange>
Swift declaration
var preferredFrameRateRange: CAFrameRateRange { get set }
set · iOS 18.0+

preferredFrameRateRange

TypeScript
setPreferredFrameRateRange(value: _QuartzCore_CAFrameRateRange): Promise<void>
Swift declaration
var preferredFrameRateRange: CAFrameRateRange { get set }
get · iOS 18.0+

requiresContinuousUpdates

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

requiresContinuousUpdates

TypeScript
setRequiresContinuousUpdates(value: boolean): Promise<void>
Swift declaration
var requiresContinuousUpdates: Bool { get set }
get · iOS 18.0+

wantsImmediatePresentation

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

wantsImmediatePresentation

TypeScript
setWantsImmediatePresentation(value: boolean): Promise<void>
Swift declaration
var wantsImmediatePresentation: Bool { get set }
get · iOS 18.0+

wantsLowLatencyEventDispatch

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

wantsLowLatencyEventDispatch

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

Skipped declarations

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

UIUpdateLink.addAction(to:target:selector:)

Objective-C selectors cannot cross the bridge.

UIUpdateLink.addAction(target:selector:)

Objective-C selectors cannot cross the bridge.

UIUpdateLink.init(windowScene:actionTarget:selector:)

Objective-C selectors cannot cross the bridge.

UIUpdateLink.init(view:actionTarget:selector:)

Objective-C selectors cannot cross the bridge.

UIUpdateLink.init()

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

All UIKit types →