One Logo Pool Ball
UIKit · IOS API REFERENCE

UIHoverStyle

class · iOS 17.0+ · SDK 27.1

@MainActor class UIHoverStyle

Members (7)

get · iOS 17.0+

isEnabled

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

isEnabled

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

shape

TypeScript
get shape(): Promise<(UIShape) | null>
Swift declaration
@MainActor @preconcurrency var shape: UIShape? { get set }
set · iOS 17.0+

shape

TypeScript
setShape(value?: (UIShape) | null): Promise<void>
Swift declaration
@MainActor @preconcurrency var shape: UIShape? { get set }
init · iOS 17.0+

init

TypeScript
static init(shape?: (UIShape) | null): Promise<UIHoverStyle>
Swift declaration
@MainActor @preconcurrency convenience init(shape: UIShape? = nil)
get · iOS 17.0+

effect

TypeScript
get effect(): Promise<SDKHandle>
Swift declaration
@MainActor @preconcurrency var effect: any UIHoverEffect { get set }
set · iOS 17.0+

effect

TypeScript
setEffect(value: SDKHandle): Promise<void>
Swift declaration
@MainActor @preconcurrency var effect: any UIHoverEffect { get set }

Skipped declarations

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

UIHoverStyle.init(effect:shape:)

This parameter hides a concrete Swift type.

UIHoverStyle.init()

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

All UIKit types →