首页 > 其他 > 详细

触摸背景收起键盘标准方法

时间:2015-08-26 17:15:01      阅读:149      评论:0      收藏:0      [点我收藏+]

- (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event {

    

if (![m_textView isExclusiveTouch]) {

        

        [m_textView resignFirstResponder];

    }

    self.view.frame =CGRectMake(0,64,self.view.frame.size.width,self.view.frame.size.height);

}

触摸背景收起键盘标准方法

原文:http://www.cnblogs.com/vickjo/p/4760667.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!