- (void)showLaunchView {
self.window.rootViewController.view.alpha = 0;
UIImageView *launchImageView = [[UIImageView alloc] initWithFrame:self.window.frame];
[launchImageView sd_setImageWithURL:[NSURL URLWithString:@"http://desk.fd.zol-img.com.cn/t_s960x600c5/g5/M00/00/0A/ChMkJlecZd-IBWxcAAYtXMKnTOEAAT_3wDlLEoABi10024.jpg"]]
;
launchImageView.contentMode = UIViewContentModeScaleAspectFill;
[self.window addSubview:launchImageView];
[self bk_performBlock:^(id obj) {
[launchImageView removeFromSuperview];
// [BDBaseFunc windowFadeAnimation];
self.window.rootViewController.view.alpha = 1;
} afterDelay:3];
}
1.bk_performBlock ----blocksKit;
2.showLaunchView在application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions调用;
3. [BDBaseFunc windowFadeAnimation];动画--BDKit;