摘要:
方法一:通过View的中心位置来移动-(BOOL)textFieldShouldReturn:(id)sender{ self.view.center=CGPointMake(160,207); [sender resignFirstResponder]; return YES;}- (BOOL)textFieldShouldBeginEditing:(id)sender{ UITextField *textField = (UITextField *)sender; if(textField.tag==1) { self.view.ce... 阅读全文