How to Show UIPickerView when selecting UITextField

前端 未结 8 531
Happy的楠姐
Happy的楠姐 2020-12-08 03:52

Here is a screenshot of what I did till now:

\"enter

So what I am trying to do

8条回答
  •  攒了一身酷
    2020-12-08 03:57

    What you can do is, create a UIButton with custom type on UITextField. Both having equal sizes. On the touch of button you can show UIPickerView.

提交回复
热议问题