Tuesday 15 February 2011

iphone - How to set read only UISlider? -


My UISlider is used to keep track of the progress of a song.

Although the user can not change the progress it still allows to change the status of control.

How do I stop the user from changing UISlider by tapping on it?

First let me know, have you seen it in use?

This requires you to do exactly what you need to disable user input.


To answer your question directly, do you have slider.userInteractionEnabled = NO ?

No comments:

Post a Comment