摘要: 1.主要实现UIResponder类的两个方法: (1)- (void)touchesBegan:(NSSet*)touches withEvent:(UIEvent*)event; (2)- (void)touchesEnded:(NSSet*)touches withEvent:(UIEvent*)event;正对拥护触摸屏幕的前后。 controller 控件一般继承语UIViewController,继承与UIResponder,因此程序的UIViewController可以使用这两个方法:第一步。定义一个键盘隐藏的函数 1 - (void)hidenKeyboard:(id... 阅读全文
posted @ 2013-11-27 14:29 optt 阅读(325) 评论(0) 推荐(0) 编辑