开发者

iPad Decimal Picker Control

开发者 https://www.devze.com 2023-02-12 10:21 出处:网络
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

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

精彩评论

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