佳为好友

转:UITextField的键盘在 "form sheet" style的 model view controller中不会自动消失

创建:2012.03.29
转:http://stackoverflow.com/questions/8379205/uitextfields-keyboard-wont-dismiss-no-really

The Apple docs describe this exception:

On the iPad, if a view controller modally presents its view using the "form sheet" style, the keyboard, once shown, is not hidden until the user taps the dismiss key or the modal view controller is programmatically dismissed. The purpose of this behavior is to avoid excessive animations as a user moves between views that are largely, but not entirely, text fields.

Which happens to apply here (modal form sheet on iPad). It's apparently just not possible to dismiss the keyboard in this case. Super. :\


+++++

posted on 2012-12-29 10:59 佳为好友 阅读(146) 评论(0)  编辑 收藏 引用 所属分类: UI


只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理


导航

<2024年11月>
272829303112
3456789
10111213141516
17181920212223
24252627282930
1234567

留言簿(1)

随笔分类

搜索

最新评论

评论排行榜