3

所以我在我的应用程序中有以下工作,当它被调用时,它将资源文件复制到 Keynote 并打开它就好了:

documentController =  [UIDocumentInteractionController interactionControllerWithURL:[NSURL fileURLWithPath:filePath]];
documentController.delegate = self;
[documentController retain];
[documentController presentPreviewAnimated:YES];
[documentController presentOpenInMenuFromRect:CGRectMake(500,-200 , 200, 200) inView:self.view animated:YES];

问题是每次触发代码时,它都会再次将文件复制到 Keynote,实际上是创建一个副本。

有什么办法可以绕过创建骗局?

谢谢

4

0 回答 0