开发者

Hide Keyboard in a view that loads a differnt view

开发者 https://www.devze.com 2023-03-14 11:52 出处:网络
I am not able to hide the keyboard in my app. My apphas 2 view.., The first view loads the anothe开发者_JAVA百科r view. But when I do resignFirstResponder.., nothing is working...are you calling resig

I am not able to hide the keyboard in my app. My app has 2 view.., The first view loads the anothe开发者_JAVA百科r view. But when I do resignFirstResponder.., nothing is working...


are you calling resignFirstResponder on a text component, like a UITextField or UITextView? Calling it on the containing view won't work.

0

精彩评论

暂无评论...
验证码 换一张
取 消