0
- (void)animateView:(UIView *)animatedView afterDelay:(float)delay {
    NSLog(@"delay is here which i am looking for %f",del);

    [UIView animateWithDuration:0.5 delay:9 options:UIViewAnimationOptionAllowUserInteraction
                     animations:^ {
                         animatedView.alpha = 0.2f;

                     } completion:^(BOOL finished) {
                         [UIView animateWithDuration:9 animations:^ {
                             animatedView.alpha = 0.7;
                         } completion:^(BOOL finished) {
                             [self animateView:animatedView afterDelay:9 ];
                         }];
                     }];
Nitin Gohel
  • 49,482
  • 17
  • 105
  • 144

0 Answers0