问题描述
首先祝大家新年快乐:)
first of all an Happy New Year to all :)
我发现可以修改编辑菜单(复制/粘贴/选择等),这要归功于UIMenuController menuItems。
I have found that it's possible modify the editing menu (copy/paste/select etc) thanks to the UIMenuController menuItems.
我希望通过此编辑菜单从其他应用程序获得我的应用程序的链接,例如复制到我的应用程序菜单项。显然,我无法修改其他应用程序的代码,但是有没有办法接近这个?
I'd like to have a link to my app from other apps through this editing menu, for example a "copy to my app" menu item. Obviously, I can't modify the code of other apps, but is there a way that nears to this?
推荐答案
它被称为云计算。也就是说,如果您有一个Web服务,您将数据发送到,然后在其他应用程序中,在启动或进入前台状态时,您可以使用您设计的任何协议检查是否有任何新数据可用。您无权访问任何其他应用程序的任何状态,无论是只读还是读写。对不起。
It's called "cloud computing". This is, where you have a web service you send the data to, and then in your other app, on startup or entering the foreground state, you check to see if any new data is available using whatever protocol you design. You have no access to any state of any other application, be it read-only or read-write. I'm sorry.
这篇关于修改编辑菜单(bubble-popup菜单)的应用程序之间的链接 - 类似的方法来执行此操作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!