Reputation: 1250
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?
Upvotes: 2
Views: 2259
Reputation: 3126
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
Upvotes: 3
Reputation: 1250
You can't. You can only customize UISLider:
[slider setThumbImage:[UIImage imageNamed:@"sliderThumb.png"] forState:UIControlStateNormal];
Upvotes: 0