iPad Decimal Picker Control

556 Views Asked by At

I'm just wondering how I go about making a picker/spinner control for a decimal number input. I have seen it on other iPhone apps where they click a button and a number picker comes up and allows them to move the numbers in the spinner to select the number they require.

Any ideas?

1

There are 1 best solutions below

0
On

You can set multiple components in the UIPickerControl. Just assign an array of 0-9 for each component, and compose the number after the user has selected a new number in a single component.