Possible Duplicate:
UISlider how to set the initial value
I want to set the default value for my slider and start the thumb of the slider from that value only.
Any suggestions???
Thanks,
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can set the lowest potential value via the
minimumValuemethod, the highest via themaximumValuemethod and the current value via thevaluemethod, all of which expect the value to be expressed as a float between 0.0 and 1.0.See the UISlider class reference docs for more information.