去除广告和基本UI逻辑
This commit is contained in:
@@ -114,7 +114,9 @@
|
||||
[IfishUserDefaultHelper chageLevlelGrad:gradeNum];
|
||||
}
|
||||
//完成登陆验证开始 广告页倒计时
|
||||
[self setAdViewVC];
|
||||
// [self setAdViewVC];
|
||||
//去除广告
|
||||
[self setAppTabRoot];
|
||||
|
||||
}
|
||||
|
||||
@@ -188,9 +190,23 @@
|
||||
|
||||
//设置根视图
|
||||
-(void)setAppTabRoot{
|
||||
UserModel*model=[dataContorl getUserInfo];
|
||||
NSUserDefaults*userdefult=[NSUserDefaults standardUserDefaults];
|
||||
BOOL skiped =[userdefult boolForKey:[CommonUtils getNotNilStr:model.unionId]];
|
||||
if (!skiped&&[CommonUtils getNotNilStr:model.phoneNumber].length==0&&[CommonUtils getNotNilStr:model.unionId].length)
|
||||
{
|
||||
|
||||
IfishMianTabViewController *mianVC=[[IfishMianTabViewController alloc] init];
|
||||
[UIApplication sharedApplication].delegate.window.rootViewController=mianVC;
|
||||
RegistViewController*revv=[[RegistViewController alloc]init];
|
||||
revv.isBind=YES;
|
||||
revv.isFromLogin=YES;
|
||||
[UIApplication sharedApplication].delegate.window.rootViewController=revv;;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
IfishMianTabViewController *mianVC=[[IfishMianTabViewController alloc] init];
|
||||
[UIApplication sharedApplication].delegate.window.rootViewController=mianVC;
|
||||
}
|
||||
|
||||
}
|
||||
-(void)bindPhone
|
||||
|
||||
Reference in New Issue
Block a user