I’m developing my first iOS app which contains a UISlider. I know how to get the value when the UISlider is dragged. But for my app I need to get the slider’s value in a single touch; i.e. if I touch somewhere in the UISlider, a UILabel should display its correct value.
Is it possible to this way. Any tutorial or code will very helpful.
Here tapCount is
intvariable that declare in .h fileFor Swift User