微信登录问题
This commit is contained in:
parent
86a82a3b02
commit
fa0dafa61b
|
|
@ -199,7 +199,8 @@
|
|||
RegistViewController*revv=[[RegistViewController alloc]init];
|
||||
revv.isBind=YES;
|
||||
revv.isFromLogin=YES;
|
||||
[UIApplication sharedApplication].delegate.window.rootViewController=revv;;
|
||||
UINavigationController*navi = [[UINavigationController alloc]initWithRootViewController:revv];
|
||||
[UIApplication sharedApplication].delegate.window.rootViewController=navi;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
|
|
@ -85,7 +85,7 @@ extern BOOL formLogIn;
|
|||
}
|
||||
- (void)viewDidLoad {
|
||||
[super viewDidLoad];
|
||||
|
||||
[self.navigationController setNavbgImage:[UIImage imageNamed:@"blackbar.png"]];
|
||||
[MobSDK uploadPrivacyPermissionStatus:YES onResult:^(BOOL success) {
|
||||
}];
|
||||
_deviceArry=[[NSMutableArray alloc]init];
|
||||
|
|
@ -365,13 +365,14 @@ extern BOOL formLogIn;
|
|||
-(void)rightButtonClick:(UIButton *)sender{
|
||||
if (self.isBind)
|
||||
{
|
||||
[[IfishUserDataUnity shareDataInstance] setAppTabRoot];
|
||||
|
||||
NSUserDefaults*userDefsult=[NSUserDefaults standardUserDefaults];
|
||||
UserModel*model=[dataContorl getUserInfo];
|
||||
if (model.unionId)
|
||||
{
|
||||
[userDefsult setBool:YES forKey:model.unionId];
|
||||
[userDefsult synchronize];
|
||||
[[IfishUserDataUnity shareDataInstance] setAppTabRoot];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue