One Logo Pool Ball
UIKit · IOS API REFERENCE

UIFocusGuide

class · iOS 9.0+ · SDK 27.1

@MainActor class UIFocusGuide

Members (7)

init

init

TypeScript
static init(): Promise<UIFocusGuide>
Swift declaration
init()
get · iOS 9.0+

isEnabled

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

isEnabled

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

preferredFocusEnvironments

TypeScript
get preferredFocusEnvironments(): Promise<(Array<SDKHandle>) | null>
Swift declaration
var preferredFocusEnvironments: [any UIFocusEnvironment]! { get set }
set · iOS 10.0+

preferredFocusEnvironments

TypeScript
setPreferredFocusEnvironments(value?: (Array<SDKHandle>) | null): Promise<void>
Swift declaration
var preferredFocusEnvironments: [any UIFocusEnvironment]! { get set }
get · iOS 9.0+ · Deprecated in iOS 10.0

preferredFocusedView

TypeScript
get preferredFocusedView(): Promise<(UIView) | null>
Swift declaration
weak var preferredFocusedView: UIView? { get set }
set · iOS 9.0+ · Deprecated in iOS 10.0

preferredFocusedView

TypeScript
setPreferredFocusedView(value?: (UIView) | null): Promise<void>
Swift declaration
weak var preferredFocusedView: UIView? { get set }

Skipped declarations

No declarations were skipped in this snapshot.

All UIKit types →