As I'm making a custom slider , Every thing is working fine . As I have an thumb image having width and height of 30x70. But when i implement the image it change its orientation by itself and displaying in 70x30 .
I tried changing the image also but the Thumb slider comes in 70x30. I want to show image in vertical but it displays in horizontal in UISlider
.
Can any one help?
[self setThumbImage:[UIImage imageNamed:@"slider.png"] forState:UIControlStateNormal];
If you want change UISlider appearance then use below method
[[UISlider appearance] setThumbImage:[UIImage imageNamed:@"slider.png"]
forState:UIControlStateNormal];
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With