摘要:        
修改视图控制器的view属性,将它的底层类由UIView更改为UIControl添加一个Action,Action是Touch Down- (IBAction)backgroudTap:(id)sender { [myTextFieldresignFirstResponder];}记住你的UITextField的Outlet一定要是weak的属性(一般的Outlet都是weak的),不然会出错-[UITextInputTraits resignFirstResponder]: unrecognized selector sent to instance    阅读全文
        
            posted @ 2012-05-04 21:10
老Zhan
阅读(633)
评论(0)
推荐(0)
        
        
浙公网安备 33010602011771号