Has anyone found a solution to this? CardButtonStyle applies the well-known "parallax effect" (its documentation refers to it as a motion effect) that wiggles the focused element when moving the finger on the Apple TV Remote touch area but I haven't found out how to replicate that effect without the styling that comes with CardButtonStyle.
The WWDC session Build SwiftUI apps for tvOS is a little odd in that at 1:42 it shows .buttonStyle(CardButtonStyle()) as the solution for when you'd want that that motion effect, and goes on to say that if you're looking for different styling than the one CardButtonStyle gives you, you can just create your own custom button style... without explaining how you can then get back the motion effect.
Looking at the Gestures, it seems that neither DragGesture nor anything else that might be used to implement this effect yourself is available on tvOS. 🤔
If anybody has an idea I'd greatly appreciate your advice.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: