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

- (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);

}

posted @ 2015-08-26 15:55  Vick-Jo  阅读(112)  评论(0编辑  收藏  举报