Browse Source

fix : closeShareViewController

Marino Faggiana 7 years ago
parent
commit
a65ba2e1fd
1 changed files with 1 additions and 1 deletions
  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];
 }
 
 //