I am trying to create a slider in SwiftUI where a view with text is displayed on the slider thumb. This text should dynamically show the current value of the slider and move with the slider thumb as it is dragged. I am currently using a native slider by implementing UIViewRepresentation.
Here’s what I am trying to achieve: