摘要: 在viewWillDisAppear:或其他离开时调用的方法中使用:[self.view endEditing:YES];此方法的好处在于通用,不需要知道哪个view是first responder.参考链接:http://stackoverflow.com/questions/1823317/get-the-current-first-responder-without-using-a-private-api 阅读全文
posted @ 2013-10-23 16:25 NSTopGun 阅读(192) 评论(0) 推荐(0) 编辑