I need to make a custom thumb for my volume slider, which I need it to be a MPVolumeView. Is there any way I can change it?
Asked
Active
Viewed 2,237 times
2 Answers
3
Update: note that in iOS 6, there are built-in methods for customizing the MPVolumeView slider, similar to the methods for UISlider:
- (void)setVolumeThumbImage:(UIImage *)image forState:(UIControlState)state
- (void)setMaximumVolumeSliderImage:(UIImage *)image forState:(UIControlState)state
- (void)setMinimumVolumeSliderImage:(UIImage *)image forState:(UIControlState)state

coco
- 2,998
- 1
- 35
- 58
0
You can't. You can only customize UISLider:
[slider setThumbImage:[UIImage imageNamed:@"sliderThumb.png"] forState:UIControlStateNormal];

gabriel_vincent
- 1,230
- 3
- 16
- 35