如何创建下拉框? [英] How to create dropdown box?
问题描述
Deepak,你可以创建一个下拉式的控件,帮助下UIButton和UITableView指示下拉列表。但是,确定您的应用程序将被Apple拒绝。
大多数iPhone用户都可以在iPhone应用程序中使用下拉框,因为人们习惯了Pickers
所以更好的去使用UIPicker,这是为了你所要求的。
In my app I want to provide option in dropdown box, I know there is no such thing in iPhone can I create dropdown box using available controllers? Please can anyone suggest me how I can achieve this?
Deepak, You can create a Drop down like control with a help of a UIButton and a UITableView indicating the drop down list. But for sure your application would be rejected by Apple.
Most of the iPhone users would be comfortable using a drop down box in an iPhone app, because people got used to Pickers .
So better go for using UIPicker, which is meant for what you are asking.
这篇关于如何创建下拉框?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!