2

I have a UILabel that displays the value of a UISlider.

How can I allign the UILabel with the center of the UISlider thumb image in Swift, so that the slider's value is always displayed in the center of the thumb image?

Cœur
  • 37,241
  • 25
  • 195
  • 267
shavedape
  • 71
  • 1
  • 5
  • have you managed to solve this problem? I'm stuck at this point, too. – cr0ss Oct 15 '15 at 14:51
  • Do you want the readout of the slider’s current value to appear inside the slider thumb (i.e. on the circle) ? Should it move as the slider moves ? In which case the UILabel would appear only when users take their finger off the slider. Is that OK ? – Greg Dec 14 '16 at 02:17

0 Answers0