user3419170
user3419170

Reputation: 97

AVAudioPlayer controls handle

Hi all. How can I make smaller progress circle? thanks

Hi all. How can I make a smaller progress circle? Thanks

Upvotes: 1

Views: 77

Answers (1)

Benjamin Jimenez
Benjamin Jimenez

Reputation: 984

Is that an UISlider? If so, you can customize the slider by adding a set of images for different states.

setMinimumTrackImage:forState:
setMaximumTrackImage:forState:
setThumbImage:forState:

The one you're looking for is setThumbImage:forState:, which as you can read, is an UIImage. Default thumb size, I think, is between 23x23 and 25x25.

If you need more help on how to customize the UISlider, you can take a look at this tutorial (old but still works), this answer and of course read the UISlider documentation

Upvotes: 4

Related Questions