How to open a pdf on the iPad from an AIR for iOS app

Posted by Dennis Flood on Stack Overflow See other posts from Stack Overflow or by Dennis Flood
Published on 2012-03-22T09:13:09Z Indexed on 2012/03/22 17:29 UTC
Read the original article Hit count: 240

Filed under:

I am making an AIR for iOS app that can download pdfs. I do not want to display the pdf in the app itself but want the default pdf-viewer (iBooks) to launch and show the pdf. How can this be done.

I am aware that navigateToURL can be used to open a file with the uri scheme of iBooks. But i dont know how to tell iBooks to look in the app-directory of my app. (Or is there some secret directory to place the file in from within the app - where iBooks can find it)

Any pointers or help would be greatly appreciated as this is somewhat of a show stopper.

© Stack Overflow or respective owner

Related posts about ios