From 54ada3b3c6c58da67dda2ecaea4b19b42ab5c257 Mon Sep 17 00:00:00 2001 From: chenqiyang <1406175257@qq.com> Date: 星期三, 29 三月 2023 17:51:47 +0800 Subject: [PATCH] 1.改用萤石动态库,解决openssl版本冲突问题 2.设备回调成功增加返回设备序列号 3.优化部分功能 --- EZSDK/EZSDK/EZ/UIViewControllers/EZAddByQRCodeViewController.m | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/EZSDK/EZSDK/EZ/UIViewControllers/EZAddByQRCodeViewController.m b/EZSDK/EZSDK/EZ/UIViewControllers/EZAddByQRCodeViewController.m index 4abf5f3..b1592e9 100644 --- a/EZSDK/EZSDK/EZ/UIViewControllers/EZAddByQRCodeViewController.m +++ b/EZSDK/EZSDK/EZ/UIViewControllers/EZAddByQRCodeViewController.m @@ -66,11 +66,20 @@ [alert show]; } self.qrView.hidden = YES; + + self.prevController = (UIViewController *)[self.navigationController.viewControllers objectAtIndex: ([self.navigationController.viewControllers count] -2)]; + HDLEZLog(@"瀵艰埅鏍忓瓙view锛�%@",self.prevController ); + + } - (void)viewWillAppear:(BOOL)animated { [super viewWillAppear:animated]; +// if(self.shouldPop){//閫�鍑虹晫闈� +// [self.navigationController popViewControllerAnimated:YES]; +// } + [[GlobalKit shareKit] clearDeviceInfo]; if (authStatus == AVAuthorizationStatusDenied || authStatus == AVAuthorizationStatusRestricted) @@ -237,7 +246,7 @@ strQRcode = [strQRcode stringByReplacingOccurrencesOfString:@"\r\n" withString:@"\r"];//2021-10-19 瑙e喅閮ㄥ垎鐚溂璁惧灞忓箷鏄剧ず鐨勪簩缁寸爜锛屽弬鏁颁箣闂村嚭鐜扮┖琛屽鑷村垎鍓插彇閿欏瓧娈甸棶棰� NSArray *arrString = [strQRcode componentsSeparatedByCharactersInSet:[NSCharacterSet newlineCharacterSet]]; - + [GlobalKit shareKit].deviceType = self.deviceType; if(arrString.count >=3) { [GlobalKit shareKit].deviceSerialNo = arrString[1]; -- Gitblit v1.8.0