I need to add a combo box or drop-down list to a UIView. I did not find such an object in the "Library" of the interface builder. How do I add this object to my UIVIEW? Do I have to inherit it from another object (which one?) or do I have to create it from scratch programmatically? Please help !!!
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
The standard practice here is to either use a UIPicker or push a TableViewController to the stack and return once the user has selected an option here.
回答2:
Youll prolly want to use the UIPicker class as there is no DropDown in UIKit, you can always make your own dropdown list if you desire