IPhone Range Slider

為{幸葍}努か 提交于 2019-12-18 08:59:07

问题


I know there is a UISlider but does anyone already made RangeSlider ( with two thumbs ?) or knows how to extend the uislider?


回答1:


I don't think you can directly extend UISlider, you probably need to extend UIControl.

Anyway, this is what I did and created this: http://github.com/doukasd/DoubleSlider

Have a look and let me know if you find it useful. You might also want to have a look at my blog post which includes a video showing how it works (to make sure we are talking about the same thing): http://dev.doukasd.com/2010/08/double-slider/



来源:https://stackoverflow.com/questions/2681933/iphone-range-slider

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!