Jelajahi Sumber

fix : closeShareViewController

Marino Faggiana 7 tahun lalu
induk
melakukan
a65ba2e1fd
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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];
 }
 
 //