I need to create a slider which should have custom images for following slider parts:
- left round corner image.
- left part image which is selected part.
- right part image which is unselected or remaining part.
- right corner image.
- Thumb image.
Also i want to increase开发者_JAVA百科 the thickness of the slider. Please give me some suggestion or share some code snippets.
Thanks,
Look at setThumbImage:forState to change thumb image.
minimumValueImage and maximumValueImage for the images on the left and right hand side of the slider.
The track images can also be manipulated.
See "Customizing the slider's appearance" at http://developer.apple.com/library/ios/#documentation/uikit/reference/UISlider_Class/Reference/Reference.html
精彩评论