Copy PDF file to iBooks library

I am developing an example application in which a user can read a pdf file, pdf files in my application and use a web view to read these files. Now I want to add a button that allows the user to click and copy the PDF file to the iBooks library, which means that when the user performs this action, after that, when the user opens the iBooks application, this PDF file is already available in the iBooks library. Any idea for this problem, plz help me, thanks. PS: I want to make like this link , but I do not want to open the pdf file right away in iBooks, when the user clicks the button, I just want when the user opens ibooks after that anytime, the user can see this pdf book in the bookshelf

+5
source share
1 answer

Unfortunately, there is no API for directly adding content to iBooks.

How it works, your application uses UIDocumentInteractionControllerto provide the user with the opportunity to open the PDF in an application that supports the type of file that you specify for the controller. One such application would be iBooks if it is installed on a user device.

Additional resources:

+3
source

All Articles