iOS
[iOS] animateWithDuration: delay: options: animations: completion: 함수 사용 예
Naku
2011. 10. 13. 14:51
[UIView animateWithDuration:2.0
delay:0
options:UIViewAnimationCurveLinear
animations:^(void){
goLogo.hidden = NO;
goLogo.alpha = 1.0;
}
completion:^(BOOL finished){
[NSThread sleepForTimeInterval:1.0];
goLogo.hidden = YES;
}
];