If you're adapting your app for #AppleVisionPro, you've probably added `contentShape` to your custom button styles to get a better `.hoverEffect()`
This also has a nicer side effect for VoiceOver highlighting, as it will now match the actual UI element!
victor tsaran reshared this.
Matt Campbell
in reply to Klemens 🥳 • • •Klemens 🥳
in reply to Matt Campbell • • •@matt Yes! This was probably always possible in SwiftUI, just didn’t discover it until now.
UIKit always had this through the `accessibilityPath`