浏览代码

fix : closeShareViewController

Marino Faggiana 7 年之前
父节点
当前提交
a65ba2e1fd
共有 1 个文件被更改,包括 1 次插入1 次删除
  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];
 }
 
 //