iPhone范围滑块 [英] IPhone Range Slider
问题描述
我知道有一个UISlider,但有没有人已经制作了RangeSlider(有两个拇指?)
或者知道如何扩展uislider?
I know there is a UISlider but does anyone already made RangeSlider ( with two thumbs ?) or knows how to extend the uislider?
推荐答案
我认为你不能直接扩展UISlider,你可能需要扩展UIControl。
I don't think you can directly extend UISlider, you probably need to extend UIControl.
无论如何,这就是我所做的和创造的这: http://github.com/doukasd/DoubleSlider
Anyway, this is what I did and created this: http://github.com/doukasd/DoubleSlider
如果您发现它有用,请查看并告诉我。您可能还想查看我的博客文章,其中包含一个显示其工作原理的视频(以确保我们正在谈论相同的事情): http://dev.doukasd.com/2010/08/double-slider/
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/
这篇关于iPhone范围滑块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!