Ver Fonte

fix : closeShareViewController

Marino Faggiana há 7 anos atrás
pai
commit
a65ba2e1fd
1 ficheiros alterados com 1 adições e 1 exclusões
  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];
 }
 
 //