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

Can't interact with UIStepper

I'm adding a few UISteppers and UITextFields programmatically, based on user's preferences. However, I can't seem to get the UIStepper touch to click - it looks like it's not registering the touch on the -/+ buttons. I tried setting User Interaction…
Samuel Hill
  • 176
  • 1
  • 13
0
votes
1 answer

UIStepper increment dynamic text box

I'm currently making setting up three-page form in Swift, with dynamically-created labels, UITextFields, and UISteppers. However, I'm stuck wondering how to increment the UITextField dynamically, since every example uses the storyboard, and I'm…
Samuel Hill
  • 176
  • 1
  • 13
0
votes
1 answer

Unrecognized Selector Sent to Instance (Stepper)

So, some code that was working fine yesterday doesn't seem to be working correctly. I'm adding a selector in my cellForRowAtIndexPath: method, but it always throws PAYPHProductTableViewCell valueChanged:]: unrecognized selector sent to instance…
Impossibility
  • 954
  • 7
  • 20
0
votes
1 answer

IOS subtracting from programmatically made labels and steppers

I'm making an ipad application for ticket sales, and i have a problem when i want to subtract.. The UI is made like so: for(NSString *string in ticketArray){ float y = 60*ticketCount+spaceFloat; //subView to contain one ticket UIView…
Kasper Sølvstrøm
  • 270
  • 1
  • 2
  • 22
0
votes
2 answers

UIStepper valueChanged.

I'm making an iphone app and I have met a problem.. I'm making sub views which contains labels and a UIStepper.. They are made by a for loop like so: //subView to contain one ticket UIView *ticketTypeView = [[UIView…
Kasper Sølvstrøm
  • 270
  • 1
  • 2
  • 22
0
votes
2 answers

how can i add multiple views depending on an array size?

im making an app to sell tickets, there are different ticket types, for each ticket type i would like to ass a: nameLabel UIStepper amountLabel priceLabel. so those 4 views * ticket types.. added to the viewcontroller during runtime. can i do this…
Kasper Sølvstrøm
  • 270
  • 1
  • 2
  • 22
0
votes
0 answers

Control on custom UITableViewCell not responding only in certain Scenes

I have a custom UITableViewCell with a Stepper inside. I've created a subclass of it, set everything up, etc. The problem I'm having is that I just used the same custom cell on another scene and it doesn't work. I'm pretty sure I connected…
Marcal
  • 1,371
  • 5
  • 19
  • 37
0
votes
1 answer

Stellaris Stepper motor RDK USB Serial Interface with PC Application- Packet Format

I'm working with Stellaris Stepper motor RDK from TI- Luminary Micro. Move me to right Forum if required. I'm using USB Serial Interface for interfacing the Device with my Application developed using C#. Currently I'm stuck with sending the control…
Balaji R
  • 1,805
  • 22
  • 41
0
votes
2 answers

Identifying the UIStepper that triggered the event

In my view, I have two steppers that are both linked to this function - (IBAction)stepperChanged:(UIStepper *)sender { int value = [sender value]; printf("value: %d", value); } Is there a quick and easy way to identify which stepper…
Stupid.Fat.Cat
  • 10,755
  • 23
  • 83
  • 144
0
votes
0 answers

Add multiple UIImage copies using UIStepper

I want to add/delete images in a view using a UIStepper. So every time you press the '+' the same image is copied within the same viewController, still being able to move/rotate every copy. I have something like this: -…
user3156776
  • 21
  • 1
  • 6
0
votes
2 answers

How to get stepper and longpress to coexist?

I tried setting up a view with a longpress gesture and a stepper configured for continuous updates. With the longpress, the continuous feature of the stepper does not occur. For now, I've disabled the longpress. I guess I don't need it. But for…
Victor Engel
  • 2,037
  • 2
  • 25
  • 46
0
votes
1 answer

iOS UIStepper & NSUserDefaults - How to manage them together and use a double

I have the following code. However, the line stepper.value = [NSNumber numberWithDouble:loadNumber]; errors with the error 'Sending NSNumber *__strong to a parameter of incompatible type 'double''. I think the stepper will only accept a double,…
NeilMortonNet
  • 1,500
  • 4
  • 16
  • 36
0
votes
2 answers

UIStepper - Set value from NSUserDefaults

I have the following code below which uses a stepper to set the value of the myLabel. I have it set to store the value to NSUserDefaults. 1) I also need to set the stepper value to the same figure as that which I have put into the label. Can someone…
NeilMortonNet
  • 1,500
  • 4
  • 16
  • 36
0
votes
0 answers

UIStepper not displaying when it is contained in a UITableViewCell

When I put a UIStepper in a UITableViewCell with Storyboard or make stepper in cell programmatically, UIStepper* stepper = [[UIStepper alloc] init]; stepper.frame = CGRectMake(0, 0, 100, 10); [cell.contentView insertSubview:stepper…
amigo
  • 1
0
votes
1 answer

How to use UIStepper in Monotouch

How to use UIStepper Control in an IOS Application. I am using monotouch, C# and examples i have seen are not of c#. the following code doesn't show anything. UIStepper stepper = new UIStepper(); var section = new Section(); …
sagheer
  • 1,195
  • 1
  • 12
  • 19