dispatch_time_t popTimer = dispatch_time(DISPATCH_TIME_NOW, (int64_t) (delayInSeconds * NSEC_PER_SEC)); dispatch_after(popTimer, dispatch_get_main_queue(), ^{ [UIView animateWithDuration:0.2 animations:^{ vc.view.alpha = 0.0; } completion:^(BOOL finished) { [vc.view removeFromSuperview]; }]; });