uislider Questions

4

I have a jQuery slider initialized and then dynamically set min max values depeding on the contents of a json-request. Steps av even 100, min a max are recalculated to even hundred, most of the cas...
Cowled asked 20/1, 2010 at 12:54

7

Solved

I have a custom UISlider that is relatively tough for big fingered people to grab hold of and slide due to the size of the "thumb image". Is there any way to increase the size of clickable / dragga...
Boulogne asked 2/11, 2012 at 13:32

8

Solved

I am new to iPhone, How do I have my UISlider go from 1 to 100 in increments of 1? slider = [[UISlider alloc] init]; [slider addTarget:self action:@selector(sliderChange:) forControlEvents:UICont...
Quietly asked 11/10, 2012 at 7:14

2

Solved

- (void)viewDidLoad { [super viewDidLoad]; self.slider.maximumValue = 30; } - (void)slide:(UISlider *)slider { NSLog(@"....progress slider value:%d", (int)slider.value); CMTime showingTime = C...
Flaw asked 6/7, 2015 at 3:30

9

Solved

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, th...

8

Solved

I have a horizontal UISlider to control the volume from 1 to 16 as min and max value, but it's returning float values when I do print(). How can I restrict the UISlider value to an integer? @IBOutl...
Algeria asked 5/1, 2017 at 12:42

3

Solved

is it possible to change the thumb of a Slider in SwiftUI like you can with a UISlider in UIKit? With a UISlider all you have to do is: self.setThumbImage(UIImage(named: "Play_black"), fo...
Eugenioeugenius asked 27/8, 2021 at 15:14

8

I'm working on an app and I have a custom UISlider. However, I'm having some issues on how to make the default thumb to appear smaller like the ones in the iOS control center. Note that I want the ...
Chalybite asked 7/2, 2017 at 14:52

8

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!.ass...
Bottomry asked 24/11, 2016 at 8:55

3

Solved

I have a slider with 5 part, which I wanted to step over for these part! and I did this : @IBAction func changeCostSlider(_ sender: UISlider) { sender.value = roundf(costSlider.value) } I also ...
Urbanity asked 20/5, 2018 at 9:15

5

I want to make UISlider with minimumTrackTintColor and minimumTrackTintColor with track borderColor I've already set a trackTintColor for both minimum and maximum state but instead I want to add ...
Radarscope asked 19/7, 2019 at 7:15

2

Solved

I haven't found an answer for this in Swift. I have a UISlider that changes the value of a brush size for a drawing app I'm making. I want the size of the thumb image to update depending on the va...
Colonialism asked 6/5, 2015 at 21:45

1

Solved

I have a CAShapeLayer based on this answer that animates along with a UISlider. It works fine but as the shapeLayer follows along its just 1 red CAGradientLayer color. What I want is the shapeLaye...
Glacial asked 22/3, 2022 at 3:36

4

Solved

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 orientati...
Turanian asked 14/11, 2011 at 6:25

7

Solved

I'm trying to implement a little function in my app. I am currently playing sounds as AVAudioPlayers and that works fine. What I would like to add is to control the sound's position (currentTime) w...
Digastric asked 16/4, 2010 at 17:6

5

I am using AvPlayer and am trying to set up a slider to allow scrubbing of audio files. Im having a problem with the slider jumping all over the place when its selected. It then goes back to the or...
Lorrianelorrie asked 20/1, 2017 at 4:13

7

How do I have my UISlider go from 1-100 in increments of 5?
Adalbertoadalheid asked 25/3, 2010 at 21:16

8

I have a slider and label in my swift project. On the storyboard, I control dragged my slider onto my controller class for that page and created an outlet and also an action. I control dragged anot...
Supplication asked 4/6, 2015 at 9:11

4

Solved

I can't seem to increase the thickness of the track. Been trying other recommendations and looking for this option in the documentation but it doesn't seem to be working, anyone know why?:( class ...
Gorky asked 6/8, 2018 at 4:18

3

I am changing the color of a UISlider by calling .thumbTintColor @IBAction func slider1Master(sender: AnyObject) { slider1.thumbTintColor = UIColor.orangeColor()} It works, but I want the colo...
Muffler asked 8/8, 2016 at 4:9

3

The default behaviour of UISlider is that its thumb isn't centered on start/end of track. Like below: I would like to modify it's behaviour to get: where thumb's center can be positioned on s...
Henke asked 9/11, 2016 at 8:10

1

Solved

Started working on the application. There was the following problem, in Main.storyboard the current value is set for the slider (for the top one it is 1.5 out of 3, and for the bottom one it is 100...
Selfaddressed asked 13/12, 2020 at 9:21

14

What I want to get is a UISlider which lets the user not only slide when he starts on its thumbRect, but also when he taps elsewhere. When the user taps on the slider but outside of the thumbRect, ...

9

I have project in which have to customise UISlider element. I wondering if someone knows how to change, or is it possible to change height of UISlide bar line. I tried something like this but don'...
Coleslaw asked 23/7, 2015 at 14:23

9

Solved

Is there an apple-house-made way to get a UISlider with a ProgressView. This is used by many streaming applications e.g. native quicktimeplayer or youtube. (Just to be sure: i'm only in the visuali...
Rozalin asked 21/12, 2010 at 0:54

© 2022 - 2024 — McMap. All rights reserved.