Questions tagged [uistepper]

A UIStepper control provides a user interface for incrementing or decrementing a value.

A UIStepper displays two buttons, one with a minus ("–") symbol and one with a plus ("+") symbol. The bounding rectangle for a stepper matches that of a UISwitch object.

If you set stepper behavior to autorepeat (which is the default), pressing and holding one of its buttons increments or decrements the stepper’s value repeatedly. The rate of change depends on how long the user continues pressing the control.

Apple Documentation

224 questions
0
votes
2 answers

UIStepper Customization Results in Blue Rectangles

I've been trying to customizing the looks of a UIStepper object added over Interface Builder. In reference to a topic here and others, I've added a few lines of code to viewDidLoad. - (void)viewDidLoad { [[UIStepper appearance]…
El Tomato
  • 6,479
  • 6
  • 46
  • 75
0
votes
1 answer

Swift Stepper Action that changes UITextField and UILabel within same cell

I am using a function to build my custom cell. the function used to create the cell is "makeMyList". The stepper I have successfully increments and decrements the itemQuantity textField. The trouble I am having comes with updating the "itemPrice"…
yumyum
  • 1
  • 1
0
votes
1 answer

How to add to UIStepper value with other buttons?

I have a UIStepper that increments/decrements by 1 to a UILabel, I want to have a additional +3 button, when the +3 is pressed it does add 3 to the Label, but then if you press the UIStepper it goes back to 1. My code is below: import…
0
votes
1 answer

UIStepper with value

Does the UIStepper have a built in view that can show the current value? Can't find anything about this. Or do I have to create my own UILabel and increment the value in that?
KexAri
  • 3,867
  • 6
  • 40
  • 80
0
votes
0 answers

UIStepper and UILabel not displaying in UITableViewCell until the cell is clicked

I want the Stepper and Label displayed on all rows by default and not only when the row is selected. Setup: I have a custom TableViewCell with both a Label and Stepper on a TableViewController. The label and stepper are working properly and are…
branimal
  • 97
  • 9
0
votes
1 answer

How to access the value of a UIStepper inside a Cocoa Touch Class

I'm trying to create a custom slider, using a cocoa touch class, whose maximum value is determined by a UIStepper. I have the UIStepper wired to my view controller and I want to reference its value inside the cocoa touch class as the slider's…
shavedape
  • 71
  • 1
  • 5
0
votes
1 answer

iOS , Changing view background colour using stepper

I want to change the background of view using rgb values obtained from stepper for some reason it isn.t working,please help! int red1,green1,blue1; -(BOOL)textFieldShouldReturn:(UITextField *)textField { [textField…
supreet singh
  • 79
  • 1
  • 7
0
votes
1 answer

Refresh stepper value

I have 3 segmented control (game names), and 3 text fields for price, quantity, subtotal. Also I have 1 stepper to increase or decrease quantity between 1 and 5. My problem appears when I change quantity for 1 game and change choose another game.…
0
votes
2 answers

How to Unhide stepper when we select particular row in tableview

I have created a stepper in a CustomCell of a UITableView. However, I would like the stepper to only be visible when a particular row is selected. To this end, I tried the following: In tableView:cellForRowAtIndexPath:…
0
votes
1 answer

Use UIStepper to increment/decrement pre-populated UITextField

I have researched the other questions related to UIStepper and it seems none answer my specific question (and they're all in Objective C). Here's my code: class EditItemViewController: UIViewController { @IBOutlet weak var myTextField:…
Shades
  • 5,568
  • 7
  • 30
  • 48
0
votes
1 answer

ScrollView overlapping when stepper is selected

Ok I have an unexpected run time issue/ error with my iOS app. I put a scroll view and stepper which increment based on items parsed from a webservice. Now whe scroll view populates when user select the Stepper and now that is working fine. My…
Cockpit Aliens
  • 411
  • 6
  • 18
0
votes
1 answer

Swift - TableView of steppers, click one stepper in a cell and other steppers get activated?

I am new to IOS and basically I have a tableView and whenever it has 40 cells and each cell has a stepper and a label. the label displays the stepper's value. The tableview generates the cells fine, but the problem is that whenever I click the…
dhruvm
  • 2,672
  • 2
  • 19
  • 24
0
votes
1 answer

How can I use the value of UIStepper as the value for videoMaximumDuration?

I am currently working on an a video app in which I'd like to give the user the option of setting the duration for which the video will be recorded. I am trying to implement this using a stepper button. Currently I am able to set this timer…
fonji
  • 162
  • 1
  • 7
0
votes
1 answer

Dynamically changing font size based on stepper value

I'd greatly appreciate any insight you could share on the below issues/questions. Intended Use: I'd like to dynamically change font size based on a UIstepper. In the action triggered after editing the stepper, I try to change the font of a UILabel,…
sevan1028
  • 73
  • 1
  • 7
0
votes
1 answer

How to get a fixed number of delays through arduino in a stepper motor?

I have to stop the stepper motor certain number of times (for one complete rotation) with delays as the stopping parameters.Suppose my requirement is to stop the motor 20 number of times so that my delay value should be evenly distributed between…
user3327290
  • 5
  • 1
  • 1
  • 4