快速集成版本新特性

清华大佬耗费三个月吐血整理的几百G的资源,免费分享!....>>>

//判断是否需要显示:(内部已经考虑版本及本地版本缓存)
BOOL canShow = [CoreNewFeatureVC canShowNewFeature];

//测试代码,正式版本应该删除
canShow = YES;

if(canShow){

    NewFeatureModel *m1 = [NewFeatureModel model:[UIImage imageNamed:@"f1"]];

    NewFeatureModel *m2 = [NewFeatureModel model:[UIImage imageNamed:@"f2"]];

    NewFeatureModel *m3 = [NewFeatureModel model:[UIImage imageNamed:@"f3"]];

    window.rootViewController = [CoreNewFeatureVC newFeatureVCWithModels:@[m1,m2,m3] enterBlock:^{
        NSLog(@"结束回调");
    }];
}else{
    UIViewController *vc = [[UIViewController alloc] init];
    vc.view.backgroundColor = [UIColor brownColor];
    window.rootViewController = vc;
}