How to Create Range Slider programmatically in iOS?

前端 未结 2 386
被撕碎了的回忆
被撕碎了的回忆 2020-12-30 04:58

I want to create a range slider. but wahen I assign 2 sliders in same position then only 1 is working. I found some External APIs to create Slider. Is there any way to creat

相关标签:
2条回答
  • 2020-12-30 05:30

    VPRangeSlider : You can also use this, which provides both segmented as well as un-segmented slider for iOS.

    0 讨论(0)
  • 2020-12-30 05:46

    You are adding one slider above another slider.So As per Cocoa-Touch standards, Only Top (newly added) slider will detect all events. First slider will be untouchable as you added both slider on same frame value.

    There are so many Range Slider examples available for iOS. Below are few examples which may help you

    • MARKRangeSlider
    • NMRangeSlider
    • ACVRangeSelector
    • BJRangeSliderWithProgress
    • iosrangeslider
    • ASRangeSlider
    • TTRangeSlider
    0 讨论(0)
提交回复
热议问题