[UIView beginAnimations:nil context:nil];
[UIView setAnimationDuration:0.2];
[btn setFrame:CGRectMake(btn.frame.origin.x, btn.frame.origin.y+40, btn.frame.size.width, btn.frame.size.height)];
resultText.hidden=FALSE;
btn.tag=10;
[UIView commitAnimations];
//another code
zoomedLeftLegView_female.transform = CGAffineTransformMakeScale(0.3,0.3);
[UIView beginAnimations:nil context:NULL];
[UIView setAnimationDuration:0.5];
zoomedLeftLegView_female.transform = CGAffineTransformMakeScale(1.0,1.0);
[UIView commitAnimations];
[UIView setAnimationDuration:0.2];
[btn setFrame:CGRectMake(btn.frame.origin.x, btn.frame.origin.y+40, btn.frame.size.width, btn.frame.size.height)];
resultText.hidden=FALSE;
btn.tag=10;
[UIView commitAnimations];
//another code
zoomedLeftLegView_female.transform = CGAffineTransformMakeScale(0.3,0.3);
[UIView beginAnimations:nil context:NULL];
[UIView setAnimationDuration:0.5];
zoomedLeftLegView_female.transform = CGAffineTransformMakeScale(1.0,1.0);
[UIView commitAnimations];
No comments:
Post a Comment