IPhone. What is the thumb size of the UIslider?

I use UISlider setThumbImage: forState to customize the appearance of the slider. But it looks a lot bigger. The image I use is 55x55 pixels in size. What should be the size of the image that I should use?

+4
source share
1 answer

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

+10
source

All Articles