IPhone Range Slider(iPhone 范围滑块)
问题描述
我知道有一个 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 范围滑块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:iPhone 范围滑块
基础教程推荐
- AdMob 广告未在模拟器中显示 2022-01-01
- 如何从 logcat 中删除旧数据? 2022-01-01
- 通过重定向链接在 Google Play 中打开应用 2022-01-01
- libGDX 从精灵或纹理中获取像素颜色 2022-01-01
- iOS4 创建后台定时器 2022-01-01
- navigator.geolocation.getCurrentPosition 在 Android 浏览器上 2022-01-01
- Android:getLastKnownLocation(LocationManager.NETWORK_PROVIDER 2022-01-01
- Cocos2d iPhone 非矩形精灵触摸检测 2022-01-01
- iPhone - 获取给定地点/时区的当前日期和时间并将其与同一地点的另一个日期/时间进行比较的正确方法 2022-01-01
- NSString intValue 不能用于检索电话号码 2022-01-01
