PDF File Editing and Read Editable file in iOS? - ios

I have a problem that PDF file editing . From my app, when an OpenIn menu is shown, I'll choose an application to open the file PDF Expert in iphone device( ex:UIDocumentInteractionController to share with PDF Expert) and the PDF file is opened for edit in PDF Expert. But after editing, how can I send it back to my app or get the link where that editable PDF is saved ? How can I get this file?

You can't, unless you app registers it self that it can also open PDF file. Then if PDF Expert has an option the open the file in an other app the user will be able to open it your again.
There is not build in feature in the iOS SDK that lets you get a file from an other app.

Related

In iOS, How do other applications write PPT files into the inbox path of their own sandbox?

I have a requirement now, and I want to display a PPT file in my app using WebView. However, this PPT file is downloaded from other applications,When I click "open from other applications" button in other app,select own app and click Import the PPT file.Then jump to my app interface. After that, I saw this PPT file in my app sandbox/Inbox path. I want to know how this file is passed into my application sandbox? Is that perform any method? I need to intercept this process and do something.Can someone help me?
Your App Delegate is called with the URL of the sanbox/Inbox file.
See:
https://developer.apple.com/documentation/uikit/uiapplicationdelegate/1623112-application

iOS open pdf use my own app setting does not work

I am developing an iOS app for pdf view, I want that when user open an email(I use gmail for test) attachment pdf file then there will be a menu like "open in" include my app, I follow this guide ios adding a custom type and this is my setting, , I rebuild my project and open the gmail attachment pdf file,when I touch and hold it shows nothing, and I single tap the attachment icon it will be opened by a default app, not my app, so I don't know what's wrong. Are there any mistake in my setting or my test device has setted the defalut application to open pdf files? If so how can I change it? Thank you!
Please follow example
Example
Also, see the list to confirm URI by Apple
URI list

PDF file editing save and read editable file again

I have a problem that PDF file editing . From my app, when an OpenIn menu is shown, I'll choose an application to open the file adobe reader in iphone device( ex:UIDocumentInteractionController to share with adobe reader) and the PDF file is opened for edit in Adobe-reader. But after editing, how can I send it back to my app or get the link where that editable PDF is saved ? How can I get this file?

UIwebview filetype on clicking

I have a link containing excel file in gmail which i open in safari browser of ios device .
I want to open my application when i click on the link and download that file to the application document directory .
is it possible ?
if so please help me.
you should register the supported type with ios, in your case a excel file
read more # https://developer.apple.com/library/ios/#documentation/FileManagement/Conceptual/DocumentInteraction_TopicsForIOS/Articles/RegisteringtheFileTypesYourAppSupports.html#//apple_ref/doc/uid/TP40010411-SW1

Open pdf file in iBooks from my site

I need put link to pdf files in my site with conditions..:)
If is a iPad , i want save this pdf in iBooks library and open iBooks showing this file.
Is this possible?
Tks!
No, this is not possible. When the user views the PDF in Safari and has iBooks installed, there will be a button to open it in iBooks (or other apps that can read PDFs). You cannot automate this though.

Resources