ios 添加伪闪屏
1 self.window.rootViewController.view.alpha = 0; 2 UIImageView *splashImageView = [[UIImageView alloc]initWithImage:[UIImage imageNamed:@"Defauit_o"]]; 3 splashImageView.frame=CGRectMake(0, 0, ScreenWidth, ScreenHeight); 4 [self.window addSubview:splashImageView]; 5 [UIView animateWithDuration:1.7 animations:^{ 6 self.window.rootViewController.view.alpha = 1.0; 7 } completion:^(BOOL finished) { 8 [splashImageView removeFromSuperview]; 9 }];

浙公网安备 33010602011771号