Dismiss iphone keyboard

后端 未结 5 831
一向
一向 2020-11-29 05:38

I am trying to recreate something similar to the popup keyboard used in safari.

\"alt<

5条回答
  •  野性不改
    2020-11-29 06:16

    Have you tried:

    [viewReceivingKeys resignFirstResponder];
    

    where viewReceivingKeys is the UIView that is receiving the text input?

提交回复
热议问题