iPhone 范围滑块

发布于 2024-08-29 20:20:46 字数 72 浏览 2 评论 0原文

我知道有一个 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?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

假装不在乎 2024-09-05 20:20:46

我不认为你可以直接扩展 UISlider,你可能需要扩展 UIControl。

无论如何,这就是我所做的并创建了这个: http://github.com/doukasd/DoubleSlider

看一下,如果您觉得有用,请告诉我。您可能还想看看我的博客文章,其中包含一个展示其工作原理的视频(以确保我们谈论的是同一件事):http://dev.doukasd.com/2010/08/double-slider/

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/

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文