简体   繁体   English

iOS打开pdf使用我自己的应用程序设置不起作用

[英]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, 我正在开发一个用于pdf视图的iOS应用,我希望当用户打开电子邮件(我使用gmail进行测试)附件pdf文件时,会出现一个类似“ open in”的菜单,其中包括我的应用,我按照此指南ios添加了自定义类型 ,这是我的设置, 导出的UTI设置 , 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. ,我重建项目并打开gmail附件pdf文件,当我触摸并按住该文件时什么也没有显示,然后我点击附件图标,它将由默认应用而非我的应用打开,所以我不知道这是怎么回事。 Are there any mistake in my setting or my test device has setted the defalut application to open pdf files? 我的设置是否存在任何错误,或者我的测试设备已将默认应用程序设置为打开pdf文件? If so how can I change it? 如果可以,该如何更改? Thank you! 谢谢!

Please follow example 请遵循示例

Example

Also, see the list to confirm URI by Apple 另外,请参阅列表以通过Apple确认URI。

URI list URI列表

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 使用Adobe Reader使用WebViewController从自己的应用程序打开PDF - Use Adobe Reader to open a PDF from own app using WebViewController ios在我自己的应用程序中打开第三方应用程序 - ios open third party app within my own app 是否可以在我自己的IOS应用程序中打开和翻阅Keynote? - Is it possible to open and flip through a Keynote in my own IOS app? iOS如何在Mail应用程序中打开PDF? - How does iOS open PDF's in the Mail app? 当我的应用程序处于后台时,将其他应用程序的文件/内容打开到我自己的iOS应用程序中 - Open file / content of other app into my own iOS app, when my app was in background 从自己的应用程序ios打开现有应用程序 - Open a existing app from own app ios 我想编写一个iOS应用并严格运行以供我在自己的手机上使用。 可能? - I want to write an iOS app and run it strictly for my own use on my own phone. Possible? 使用iOS Action Extension将PDF导入自己的应用程序 - Import PDF into own App with iOS Action Extension ios邮件应用程序无法在我的应用程序中打开vcard - ios mail app does not open vcard in my app Swift,Xcode,iOS-如何处理通过“在...中打开”从另一个应用程序发送到我自己的应用程序的文件 - Swift , Xcode, iOS - How to handle a file sent with 'Open in…' from another app to my own app
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM