One Logo Pool Ball
SwiftUICore · IOS API REFERENCE

AutomaticHoverEffect

struct · iOS 18.0+ · SDK 27.1

struct AutomaticHoverEffect

The default hover effect based on the surrounding context. The automatic effect will resolve to any ``View/defaultHoverEffect(_:)`` applied to the current View hierarchy, or a system-defined effect if no default effect has been defined. You can also use ``CustomHoverEffect/automatic`` to construct this hover effect.

Members (1)

init · iOS 18.0+

init

TypeScript
static init(): AutomaticHoverEffect
Swift declaration
init()

Creates an automatic hover effect.

Skipped declarations

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

AutomaticHoverEffect.body(content:)

This protocol needs associated types that cannot yet cross the bridge.

All SwiftUICore types →