add jpush 启动广告页

This commit is contained in:
lianxiang
2018-08-22 17:53:17 +08:00
parent b7bedad48c
commit 3b8f57d02f
24 changed files with 545 additions and 34 deletions
+9
View File
@@ -10,6 +10,8 @@
#import "GiGaBaseNavViewController.h"
#import "GiGaMaskTaskViewController.h"
#import "GiGaUserDefault.h"
#import "GiGaStartAdView.h"
@implementation AppDelegate (GiGaConfig)
-(void)setupTabBarController{
@@ -77,6 +79,7 @@
//
- (void)setupRootVC{
GiGaMaskTaskViewController *maskeVC = [[GiGaMaskTaskViewController alloc] init];
GiGaBaseNavViewController *maskNav =[[GiGaBaseNavViewController alloc] initWithRootViewController:maskeVC];
maskNav.navigationBar.titleTextAttributes = @{NSForegroundColorAttributeName : [UIColor blackColor]};
@@ -87,4 +90,10 @@
}
-(void)creatAdView{
GiGaStartAdView *startadview = [[GiGaStartAdView alloc] initWithFrame:self.window.bounds];
[startadview show];
}
@end