[IOS] - IOS UIView fadeOut & fadeIn, UIView animation
IOS ( Object-C ) 2014. 7. 18. 11:54[self setFadeOut:self.view];
[self setFadeIn:self.view];
// Set Fade Out Pop
- (void) setFadeOut : (UIView *) target {
[target setAlpha:0];
[UIView animateWithDuration:Dialog_Animation_Delay
delay:0
options: UIViewAnimationOptionCurveEaseInOut
animations:^{
[target setAlpha:1];
}
completion:^(BOOL finished){
NSLog(@"Set Fade Out Call Back");
}];
}
// Set Fade In Pop
- (void) setFadeIn : (UIView *) target {
[target setAlpha:1];
[UIView animateWithDuration:Dialog_Animation_Delay
delay:0
options: UIViewAnimationOptionCurveEaseInOut
animations:^{
[target setAlpha:0];
}
completion:^(BOOL finished){
NSLog(@"Set Fade In Call Back");
}];
}
'IOS ( Object-C )' 카테고리의 다른 글
[IOS] - IOS TextField Only Number (0) | 2014.07.22 |
---|---|
[IOS] - IOS UIImage to NSData 이미지 Data 값으로 변경 (0) | 2014.07.21 |
[IOS] - IOS 외부 이미지 불러오기, URL Image (0) | 2014.07.18 |
[IOS / Object-C] - IOS HTTP 네트워크 통신 (0) | 2014.07.16 |
[IOS] - IOS System Version 정보 구하기, IOS 버전 구하기 (0) | 2014.07.11 |