From 6db2bb1858865255f7fa6c5424d08b509a4b9190 Mon Sep 17 00:00:00 2001 From: lijianghuai Date: Wed, 17 Jul 2024 17:03:27 +0800 Subject: [PATCH] =?UTF-8?q?[fix]=20=E4=BF=AE=E5=A4=8D=20Xcode16=20?= =?UTF-8?q?=E7=BC=96=E8=AF=91=EF=BC=8C=20=E5=9C=A8=20iOS18=20=E6=97=A0?= =?UTF-8?q?=E6=B3=95=E8=BF=9B=E8=A1=8C=20UI=20Debug=20=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E3=80=82=20=E4=B8=BB=E8=A6=81=E6=98=AF=E7=94=B1?= =?UTF-8?q?=E4=BA=8E=20maskView=20=E5=B1=9E=E6=80=A7=E8=B7=9F=E7=B3=BB?= =?UTF-8?q?=E7=BB=9F=E5=90=8C=E5=90=8D=E4=BA=86=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Src/Main/Server/Others/LKS_ExportManager.m | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Src/Main/Server/Others/LKS_ExportManager.m b/Src/Main/Server/Others/LKS_ExportManager.m index be040b9..9c6cc0f 100644 --- a/Src/Main/Server/Others/LKS_ExportManager.m +++ b/Src/Main/Server/Others/LKS_ExportManager.m @@ -95,7 +95,7 @@ @interface LKS_ExportManager () @property(nonatomic, strong) UIDocumentInteractionController *documentController; #endif -@property(nonatomic, strong) LKS_ExportManagerMaskView *maskView; +@property(nonatomic, strong) LKS_ExportManagerMaskView *lks_maskView; @end @@ -129,11 +129,11 @@ - (void)exportAndShare { [[NSNotificationCenter defaultCenter] postNotificationName:@"Lookin_WillExport" object:nil]; - if (!self.maskView) { - self.maskView = [LKS_ExportManagerMaskView new]; + if (!self.lks_maskView) { + self.lks_maskView = [LKS_ExportManagerMaskView new]; } - [visibleVc.view.window addSubview:self.maskView]; - self.maskView.frame = visibleVc.view.window.bounds; + [visibleVc.view.window addSubview:self.lks_maskView]; + self.lks_maskView.frame = visibleVc.view.window.bounds; dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(.5 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{ LookinHierarchyInfo *info = [LookinHierarchyInfo exportedInfo]; @@ -165,7 +165,7 @@ - (void)exportAndShare { NSString *path = [NSString stringWithFormat:@"%@%@", NSTemporaryDirectory(), fileName]; [data writeToFile:path atomically:YES]; - [self.maskView removeFromSuperview]; + [self.lks_maskView removeFromSuperview]; if (!self.documentController) { self.documentController = [UIDocumentInteractionController new];