newszer
newszer

Reputation: 440

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, Exported UTIs 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!

Upvotes: 0

Views: 625

Answers (1)

Gagan_iOS
Gagan_iOS

Reputation: 4080

Please follow example

Example

Also, see the list to confirm URI by Apple

URI list

Upvotes: 1

Related Questions