EASplashScreen icon indicating copy to clipboard operation
EASplashScreen copied to clipboard

Fail to call finished delegate

Open tushar666 opened this issue 10 years ago • 1 comments

Fail to call finished delegate

tushar666 avatar Mar 10 '15 16:03 tushar666

-(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

ChanakyaHirpara avatar Jan 09 '16 15:01 ChanakyaHirpara