UISlider thumbTintColor doesn't change on iOS 7 (fine on iOS 6)

后端 未结 4 1698
庸人自扰
庸人自扰 2021-01-08 01:41

I have an app that runs perfectly on iOS 6. I\'ve set a blinking effect to a UISlider\'s thumb this way:

-(void)startBlinkingSlider{
    isSliderBlinking = Y         


        
4条回答
  •  梦谈多话
    2021-01-08 01:53

    So far in Xcode 6.2, iOS 8.2 the problem is still there, and the workaround still works. Swift version:

    slider.setThumbImage(slider.thumbImageForState(.Normal), forState:.Normal)
    

提交回复
热议问题