最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

iOS: Unable to Open PDF in Any PDF App from Unity - Stack Overflow

programmeradmin4浏览0评论

I am working on a Unity project where I need to open a PDF file using an external PDF viewer on iOS. However, when I try to open the file, it does not open in any installed PDF app (such as Adobe Acrobat, Books, or any other PDF reader).

Used Application.OpenURL("file://path-to-pdf"), but nothing happens.

Tried using NSFileProvider to get the document path, but the PDF does not open.

Used UIDocumentInteractionController to present the open-in menu, but the PDF apps are not listed.

发布评论

评论列表(0)

  1. 暂无评论