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 范围滑块


基础教程推荐
- Kivy Buildozer 无法构建 apk,命令失败:./distribute.sh -m “kivy"d 2022-01-01
- 如何在 iPhone 上显示来自 API 的 HTML 文本? 2022-01-01
- Android:对话框关闭而不调用关闭 2022-01-01
- 当从同一个组件调用时,两个 IBAction 触发的顺序是什么? 2022-01-01
- android 应用程序已发布,但在 google play 中找不到 2022-01-01
- 如何让对象对 Cocos2D 中的触摸做出反应? 2022-01-01
- 如何在 UIImageView 中异步加载图像? 2022-01-01
- 如何在没有IB的情况下将2个按钮添加到右侧的UINavigationbar? 2022-01-01
- UIWebView 委托方法 shouldStartLoadWithRequest:在 WKWebView 中等效? 2022-01-01
- 在 gmail 中为 ios 应用程序检索朋友的朋友 2022-01-01