Is there no way to hide the pointer with SwiftUI? If so, how?
UIPointerStyle.hidden() with SwiftUI?
With UIKit, it is possible to set the pointer style or just hide it through the UIPointerInteractionDelegate
:
func pointerInteraction(_ interaction: UIPointerInteraction, styleFor region: UIPointerRegion) -> UIPointerStyle? {
// Hide the pointer in the screen view
return UIPointerStyle.hidden()
}
I’m unable to find anything that would do the same on SwiftUI.
Apple folks: FB12418053