是否有一个功能可以让您向 ios 上的现有应用程序添加功能?

发布于 2024-11-02 13:25:04 字数 172 浏览 4 评论 0原文

我很好奇是否有可能制作一个应用程序,为 ipad 上的现有应用程序(例如 safari)添加功能。如果是,哪个函数会向 safari 添加按钮?

我的问题是基于我看到的 2 个应用程序广告,一个为 safari 添加了一个按钮,另一个本身创建了一个应用程序。我还没买,所以我不知道他们是否真的按照他们说的做。 谢谢

I am curious if it is possible to make an app that adds a functionality to an existing app on ipad, say safari. If yes, which function would add a button to safari?

My question is based on 2 app advertisements I saw, one added a button to safari, the other created an app itself. I didnt buy them yet, so I dont know if they really do what thet say.
Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

裂开嘴轻声笑有多痛 2024-11-09 13:25:04

据我所知,我认为向现有应用程序添加功能最接近的方法是创建一个允许与某些文档类型交互的新应用程序。

例如,您可以创建一个可以打开和阅读 PDF 文档的应用程序。安装此应用程序后,您会发现在任何应用程序上与 PDF 文档交互(例如在电子邮件附件中,或在 Safari 中打开 PDF)都会显示一个在应用程序中打开 PDF 的新选项。这种交互是通过 UIDocumentInteractionController 类实现的。

除此之外,我相信您必须基于现有应用程序从头开始创建自己的应用程序才能扩展功能(因此,创建“MyBrowser”应用程序以使其行为类似于 Safari,但具有附加控件和功能)。

然而,我很乐意被证明是错误的。

As far as I'm aware, I think the closest you get to adding functionality to an existing app would be creating a new app that allowed interaction with certain document types.

For example, you might create an app that can open and read PDF documents. On installing this app, you would then find that interacting with a PDF document on any app (such as in an email attachment, or opening a PDF in Safari) would show a new option to open the PDF in your app. This kind of interaction is achieved via the UIDocumentInteractionController class.

Beyond that, I believe you would have to create your own app from scratch based on an existing one in order to extend functionality (so, create the 'MyBrowser' app to behave like Safari, except with additional controls and features).

I'd love to be proven wrong, however.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文