Add a button to UIPickerView

我是研究僧i 提交于 2021-02-11 17:40:39

问题


How can I add a button to a UIPickerView? Thanks.

The result should be like this:

enter image description here


回答1:


There's no built-in way. You can just put a button on top of it. I'm guessing that button was just well-designed to look right in that position :)



来源:https://stackoverflow.com/questions/7211996/add-a-button-to-uipickerview

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!