SwiftUI has onHover
for View
to hook hover events, but it only gives feedback of hovered or not, which is a Bool
.
How can I get the mouse location when View
is on hover ?
SwiftUI has onHover
for View
to hook hover events, but it only gives feedback of hovered or not, which is a Bool
.
How can I get the mouse location when View
is on hover ?