Gradient wait when IOS app starts
-(BOOL) application :( UIApplication *) application didfinishlaunchingwitexceptions :( NSDictionary *) launchOptions {self. window = [[UIWindow alloc] initWithFrame: [[UIScreen mainScreen] bounds]; [UIApplication sharedApplication]. statusBarHidden = YES; UIImageView * splashScreen = [[UIImageView alloc] initWithFrame: self. window. bounds]; splashScreen. image = [UIImage imageNamed: @ "program import graph .png"]; [self. window addSubview: splashScreen]; [UIView animateWithDuration: 5.0 animations: ^ {CATransform3D transform = CATransform3DMakeScale (0.5, 0.5, 1.0); splashScreen. layer. transform = transform; splashScreen. alpha = 0.8; MyLog (@ "111");} completion: ^ (BOOL finished) {[splashScreen removeFromSuperview]; MyLog (@ "222"); self. window. rootViewController = [[LoginViewController alloc] init]; self. window. backgroundColor = [UIColor whiteColor] ;}]; _ netRequest = [[NetRequest alloc] init]; [self. window makeKeyAndVisible]; return YES ;}