嗨我遇到textfields和setAnimationDuration的问题,当我点击文本时它就像这样
这是代码
-(IBAction)open:(id)sender{
[UIView beginAnimations:nil context:nil];
[UIView setAnimationDuration:0.5];
[UIView setAnimationDelay:0.0];
[UIView setAnimationCurve:UIViewAnimationCurveEaseInOut];
view1.frame = CGRectMake(0, 63, 320, 568);
}