【发布时间】:2015-06-14 11:36:39
【问题描述】:
我使用了这段代码,但它显示了其他应用程序。
NSURL *URL = [[NSBundle mainBundle] URLForResource:@"ABC" withExtension:@"png"];
if (URL)
{
self.documentInteractionController = [UIDocumentInteractionController interactionControllerWithURL:URL];
[self.documentInteractionController setDelegate:self];
CGRect rect = self.view.frame;
[self.documentInteractionController presentOpenInMenuFromRect:rect inView:self.view animated:YES];
我怎样才能只显示 WhatsApp 图标?
【问题讨论】:
标签: ios whatsapp uidocumentinteraction