Reading List

Tracking Hover Location in SwiftUI from Michael Tsai RSS feed.

Tracking Hover Location in SwiftUI

Natalia Panferova (tweet): For a while we only had onHover(perform:) modifier in SwiftUI that is called when the user moves the pointer over or away from the view’s frame. There used to be no official way to continuously track the pointer location. This changed with the introduction of onContinuousHover(coordinateSpace:perform:) in macOS 13 and iPadOS 16.The […]