Browse Source

fix : closeShareViewController

Marino Faggiana 7 năm trước cách đây
mục cha
commit
a65ba2e1fd
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      Share/ShareViewController.m

+ 1 - 1
Share/ShareViewController.m

@@ -124,7 +124,7 @@
 
 - (void)closeShareViewController
 {
-    [self.extensionContext completeRequestReturningItems:@[] completionHandler:nil];
+    [self.extensionContext completeRequestReturningItems:self.extensionContext.inputItems completionHandler:nil];
 }
 
 //