iPad popover textfield - resignFirstResponder doesn't dismiss keyboard

前端 未结 5 849
执笔经年
执笔经年 2021-02-13 06:15

I have two text fields email and password. The following code works fine when the fields are presented on a regular view but when they are on a popover, the resignFirstResponder

5条回答
  •  闹比i
    闹比i (楼主)
    2021-02-13 06:50

    I was also having this problem. But I solved this by making a another control, which is not in the popover as firstResponder and later a resigned it from there. But I don't what is the problem with popover.

提交回复
热议问题