开发者

iPad Decimal Picker Control

I'm just wondering how I go about making a picker/spinner control for a decimal nu开发者_JAVA技巧mber 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?


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜