iPad popover textfield - resignFirstResponder doesn't dismiss keyboard

前端 未结 5 850
执笔经年
执笔经年 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条回答
  •  感动是毒
    2021-02-13 07:12

    As described in this answer, the keyboard will sometimes remain on-screen when the view is presented with the UIModalPresentationFormSheet style.

提交回复
热议问题