Monika Patel
Monika Patel

Reputation: 2375

Increase UISlider height without using image

I want to increase UISlider height using color or any other way. I do not want to use image. I do not want to set setMaximumTrackImage & setMinimumTrackImage. How can i implement this ?

Upvotes: 1

Views: 2069

Answers (1)

Surya Subenthiran
Surya Subenthiran

Reputation: 2217

If you don't want to subclass, you can apply scale transform to the slider

slider.transform = CGAffineTransformMakeScale(2.0f, 2.0f);

Upvotes: 3

Related Questions