How to get an event on UISlider track? I am able to get the events on UISlider’s button but not on track. How should I go about it?
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.
Subclass the
UISliderand override itstouchesBegan:withEvent:method. Get the point value from the touch event and calculate it’s percentage by the point’s .x value relative to the width of the slider.