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
1 answer

Stepper Value increases once for every 2 clicks

I'm using a custom table view cell with a stepper and a label. But when i check the value of the stepper it increases only once for every 2 presses. What is the problem? - (UITableViewCell *)tableView:(UITableView *)tableView…
vivek241
  • 666
  • 1
  • 7
  • 18
0
votes
1 answer

UIStepper value - garbage value returned after a number of iterations

I've solved the problem I was having as described in this post but want to understand the why of it (I spend a good amount of time figuring this out) as I've posed in the "Questions" below. I had a problem with incrementing and decrementing the…
larick
  • 259
  • 5
  • 12
0
votes
2 answers

Edit UITextField Font Size with UIStepper

Is there a way to edit a UITextField's font size with a UIStepper? i.e, tap the add button and the UITextField's font size increases by 1 or 5? So far I have tried [textField adjustsFontSizeToFitWidth:value]; with no luck. How could I do this? Also,…
0
votes
1 answer

UIStepper in hidden view interferes with UIButton in another UIView?

I'm having a problem with a UIButton in a UIView: part of the button does not respond to touches. The cause is a UIStepper in another UIView. But, that view is hidden! Why does the system think a UIStepper in another, hidden, view is still somehow…
RickJansen
  • 1,615
  • 18
  • 24
0
votes
1 answer

UIStepper only show minus sign

I'm trying to only show one part of h the UIStepper control by using a layer, using this code UIStepper *testStepper = [[UIStepper alloc]init]; [testStepper setFrame:CGRectMake(120, 220, 94, 27)]; testStepper.maximumValue =…
Kridie
  • 1
  • 1
0
votes
1 answer

Stepper value reset after loaded from coredate

I am building a UITabledetail view, which contains a stepper and a UILabel. The uilabel will show the number of stepper pressed. My problem comes when i used core data to save the value of the uilabel. e.g. the final value of the uilabel is 30.…
Clarence
  • 1,951
  • 2
  • 34
  • 49
0
votes
2 answers

Why is percentage UILabel showing 'nan%'

At the moment, the app itself records cues in a certain sports match. It captures the information by updating through the UIStepper which will update the UILabel's to 1, 2, 3... etc. However, when I press 'minus' on the UIStepper to change the…
K.Honda
  • 3,106
  • 5
  • 26
  • 37
0
votes
1 answer

Resetting UIStepper

I have a UIStepper set up via IB. It increases and decreases the 'label number' on my view. I'm trying to make a button which when the user presses, will reset the number and UIStepper to zero. How can I do that? Thanks.
K.Honda
  • 3,106
  • 5
  • 26
  • 37
0
votes
1 answer

UIStepper Xcode Interface Builder alignment issue

I'm not sure why but when I try to align my UIStepper in IB in line with my label, it is not inline when I run it. So I have to adjust my UIStepper a lot lower than my labels in order to get it alined. Please see the picture: Does anyone know…
K.Honda
  • 3,106
  • 5
  • 26
  • 37
-1
votes
1 answer

How to pass state to LinearStepper in reactjs?

This is my constructor where my variable is, all i want is to pass this variable in HorizontalLinearStepper... export class Dashboard extends React.Component { constructor(props) { super(props); this.state = { area: null, }; …
Liverpool
  • 265
  • 7
  • 21
-1
votes
1 answer

How can I submit each screen in a stepper form with Material UI?

I need to save the user information in db when the screen is changed by user. I am using React and Material UI Steppers.
Julian.ur
  • 129
  • 1
  • 7
-1
votes
2 answers

How do I decrease a stepper value in another function?

Forgive the mess; I may have extra code from trying to do this by using examples I found on here, but none seem to work. I have a stepper @IBOutlet weak var turnsRemaining: UILabel! @IBOutlet weak var turnStepper: UIStepper!\ I have these…
JMC
  • 1
  • 1
-1
votes
2 answers

How to zoom text in UitextView using stepper in objective c

i have a UiTextView and UiStepper in Xib and i want to zoom the content of textView by using stepper in objective c.thanks
-1
votes
1 answer

Swift - Stepper in TableViewCell - Action not Responding

Another Swift beginner here. I have a Stepper in a TableView cell which needs to update a label in the same cell. I got part of the way there by asking another question and I received a great answer here:…
Louis Sankey
  • 481
  • 8
  • 26
-1
votes
1 answer

how to load UIStepper value from Coredata?

I use CoreData in my project and I have uitableview and in every cell I have UIStepper. Now I can save UIStepper value in CoreData, For example when I click on + it's work fine and save the new value in the CoreDate and when I restart my App I can…
Dr.dia
  • 1
  • 2
1 2 3
14
15