在 iPhone 应用程序中选择整数的控件/方法是什么?
从可用性的角度来看,任何关于用户为我的应用程序配置一项偏好的方法的建议(周数)可能是有意义的,允许它在 2 到 25 周之间的任何地方。因此,我想到的选项包括:
- 输入 - 但需要一些验证
- ,有一个列表可供选择(我假设通过将另一个 TableView 推送到 UINavigationStack) - 但有 25 行对此不确定(例如,第 1 行=“第 1 周”,第 2 行 =“第 2 周”等)
- 听起来不太好
- UIPicker 轮 - 但其他
???谢谢
Any recommendations re which approach from a useability perspective for a user to configure one preference for my app, which is number of weeks - probably would make sense to allow it to be anywhere from 2 through to 25 say. So options which come to mind include:
- type it in - but would need some validation
- have a list to pick from (I assume by pushing on another TableView to the UINavigationStack) - but with 25 rows not sure about this (e.g. row 1 = "week 1", row 2 = "week 2" etc)
- UIPicker wheel - but doesn't sound too good
- other???
thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我建议您使用 UIPickerView,当您点击编辑时会显示
I would advice you to us a UIPickerView that shows when you tap to edit