Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iPhone - What is the size of UIslider's thumb?

I am using the UISlider's setThumbImage:forState to customize the look of slider's thumb. But this looks much bigger. The image that I'm using is of size 55x55 pixels. What should be the size of image that i've to use?

like image 413
Satyam Avatar asked Dec 27 '22 17:12

Satyam


1 Answers

From XIB, i found that, the height of UISlider is 23 pixels. And when I changed the image size to 23x23 pixels, it looks perfect now.

like image 134
Satyam Avatar answered Dec 30 '22 05:12

Satyam



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!