presentOptionsMenuFromBarButtonIt
全部标签 我使用UIDocumentInteractionControllerpresentOptionsMenuFromBarButtonItem在AdobeReader应用程序中打开PDF,使用邮件发送并打印。邮件和打印工作正常,但我无法打开任何其他应用程序。我尝试了presentOpenInMenuFromBarButtonItem和UIActivityViewController,但它们都不能满足我的需要。我尝试使用documentInteractionController:willBeginSendingToApplication:delegate打开AdobeReader,但
UIDocumentInteractionControllerpresentOptionsMenuFromBarButtonItem在ios8硬件(而不是7.1硬件或更早版本的硬件)中给我一个控制台错误:Unknownactivityitemssupplied:({"com.adobe.pdf"=;},"")InmyofficialAppStoreversionofmyapp,theappcrashesatthispoint.WhenIcompileandrunonmyiPaditjustgivestheerrorbutdoesnotcrash.Mycode:Inthe.h:UIDoc
UIDocumentInteractionControllerpresentOptionsMenuFromBarButtonItem在ios8硬件(而不是7.1硬件或更早版本的硬件)中给我一个控制台错误:Unknownactivityitemssupplied:({"com.adobe.pdf"=;},"")InmyofficialAppStoreversionofmyapp,theappcrashesatthispoint.WhenIcompileandrunonmyiPaditjustgivestheerrorbutdoesnotcrash.Mycode:Inthe.h:UIDoc