首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 移动开发 > 移动开发 >

UIModalPresentationFormSheet方式下resignFirstResponder无法隐藏键盘

2012-07-01 
UIModalPresentationFormSheet模式下resignFirstResponder无法隐藏键盘弹出UIModalPresentationFormSheet

UIModalPresentationFormSheet模式下resignFirstResponder无法隐藏键盘
弹出UIModalPresentationFormSheet模式



效果如下:



但是当在UItextview软盘弹出之后,点击其他区域使用下面代码软盘无法隐藏


效果如下:




参考资料:http://stackoverflow.com/questions/3019709/modal-dialog-does-not-dismiss-keyboard

热点排行