-(BOOL) Application: (UIApplication *) application didfinishlaunchingwithoptions: (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 entry diagram. 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;}
Gradient wait when iOS app starts