Questions tagged [uislider]

A UISlider object is a visual control used to select a single value from a continuous range of values. Sliders are always displayed as horizontal bars. An indicator, or thumb, notes the current value of the slider and can be moved by the user to change the setting. Available in iOS 2.0 and later in UIKit.

UISlider commonly refers to the UISlider control used in iOS programming.

1610 questions
31
votes
1 answer

UISlider not animating in iOS7

When I switched from iOS 6 to iOS 7 design, I noticed that using the method setValue:animated: no longer animates the sliding process. Has anyone else came across this problem and found a solution? I'll just add some code to show I've done nothing…
Flying_Banana
  • 2,864
  • 2
  • 22
  • 38
30
votes
8 answers

How to detect AVPlayer actually started to play in swift

Hello I have set my UISliderminimum value to 0.00. Then I set it's max value in this way. self.viewPlayer.layer.addSublayer(playerLayer) let duration : CMTime = avPlayer.avPlayer.currentItem!.asset.duration let seconds : Float64 =…
user1960169
  • 3,533
  • 12
  • 39
  • 61
28
votes
8 answers

Tap on UISlider to Set the Value

I created a Slider (operating as control of the video, like YouTube has at the bottom) and set the maximum (duration) and minimum values. And then used SeekToTime to change the currentTime. Now, the user can slide the thumb of the slider to change…
senty
  • 12,385
  • 28
  • 130
  • 260
26
votes
3 answers

Gesture problem: UISwipeGestureRecognizer + UISlider

Got a gesture related problem. I implemented UISwipeGestureRecognizer to get swipe left and right events and that is working fine. However the problem I'm facing is that the UISlider's I have in the same view are not playing nice. The sliding motion…
26
votes
2 answers

UISlider with variable scrubbing speeds (like iPod app)

Apple's iPod (Music) app has a slider (UISlider, I presume) with variable scrubbing speeds: the further away from the slider you drag vertically, the smaller the proportion of your horizontal dragging speed that is reflected in the value change of…
matt
  • 515,959
  • 87
  • 875
  • 1,141
23
votes
4 answers

How to Change the UISlider to Vertical?

I am customizing an UISlider for my app. I want the slider to be in vertical orientation, but the default UISlider is in horizontal orientation. I couldn't find how to change a UISlider's orientation. How can I make a vertical slider in XCode?
SeongHo
  • 1,040
  • 2
  • 15
  • 39
23
votes
4 answers

JQuery UI Slider for time

Hi I need to implement a slider for 24 hour time range . I like to use jquery ui slider for this . I have written below code