EASplashScreen
EASplashScreen copied to clipboard
Fail to call finished delegate
Fail to call finished delegate
-(void)removeImageViews { for (NSInteger i = 0; i < self.splashScreenImageView.count; i++) { UIImageView *imageView = self.splashScreenImageView[i]; [UIView animateWithDuration:0.8f animations:^{ [UIView animateWithDuration:0.2f animations:^{ self.shadowImageView.alpha = 0.0f; }]; }];
[UIView animateWithDuration:0.4f delay:(i * 0.1f) options:UIViewAnimationOptionCurveEaseIn animations:^{
imageView.transform = CGAffineTransformMakeTranslation(CGRectGetWidth(imageView.frame), 0);
} completion:^(BOOL finished) {
_slideCount--;
if (_slideCount==0) {
[self.delegate splashScreenDidFinishTransisioning:self];
}
}];
}
}
Just replace function namely removeImageViews with above