萤石云 iOSSDK,移植跨平台相关工程
Davin
2024-12-18 b4e1288a9b63eb820e9c9489c56aac4bf6b31067
EZSDK/EZSDK/EZ/UIViewControllers/EZAddByQRCodeViewController.m
@@ -32,7 +32,7 @@
- (void)dealloc
{
}
- (void)viewDidLoad {
@@ -66,14 +66,20 @@
        [alert show];
    }
    self.qrView.hidden = YES;
    self.prevController = (UIViewController *)[self.navigationController.viewControllers objectAtIndex: ([self.navigationController.viewControllers count] -2)];
    HDLEZLog(@"导航栏子view:%@",self.prevController );
    self.tipsLabel.text=HDLEZLocallizedString(@"device_add_device_qr_code");
}
- (void)viewWillAppear:(BOOL)animated
{
    [super viewWillAppear:animated];
    if(self.shouldPop){//退出界面
        [self.navigationController popViewControllerAnimated:YES];
    }
//    if(self.shouldPop){//退出界面
//        [self.navigationController popViewControllerAnimated:YES];
//    }
    
    [[GlobalKit shareKit] clearDeviceInfo];
    if (authStatus == AVAuthorizationStatusDenied ||