add jpush 启动广告页
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user