How to Create Range Slider programmatically in iOS?

前端 未结 2 397
被撕碎了的回忆
被撕碎了的回忆 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: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

提交回复
热议问题