Adding a combo box or drop-down list to UIView

前端 未结 2 1856
情歌与酒
情歌与酒 2020-12-19 17:56

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

相关标签:
2条回答
  • 2020-12-19 18:22

    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

    0 讨论(0)
  • 2020-12-19 18:39

    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.

    0 讨论(0)
提交回复
热议问题