IOS应用程序在Keynote中打开文件,生成欺骗

时间:2012-08-21 07:46:50

标签: ios

所以我在我的应用程序中有以下工作,当被调用时,它将资源文件复制到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,基本上会创建副本。

任何可以绕过创造欺骗的方法吗?

由于

0 个答案:

没有答案