Browse Source

PDFView(iOS)-打开文档失效bug

yangliuhua 1 năm trước cách đây
mục cha
commit
b12c2b6474

+ 2 - 2
ComPDFKit_Tools/ComPDFKit_Tools/Common/Controls/PDFViewController/CPDFViewBaseController.m

@@ -545,11 +545,11 @@
             dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{
                 if(self.pdfListView.document.isModified) {
                     [self.pdfListView.document writeToURL:self.pdfListView.document.documentURL];
-                    
+                }
                     dispatch_async(dispatch_get_main_queue(), ^{
                         [self openFileWithUrls:urls];
                     });
-                }
+                
             });
         }