可以从 Safari 访问 UIPasteBoard 吗?

发布于 2024-12-21 16:45:52 字数 54 浏览 3 评论 0原文

我想将一些内容从本机应用程序复制到粘贴板中。然后从本机浏览器读取复制的值。有办法做到这一点吗?

I'd like to copy something from a native application into the paste board. And then read the copied value from the native browser. Is there a way to do this?

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

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

发布评论

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

评论(1

神经大条 2024-12-28 16:45:52

您的意思是从粘贴板读取它而不让用户实际粘贴它吗?如果是这样,那么答案是明确的——在没有用户输入的情况下读取粘贴板将是安全禁忌(假设您刚刚在另一个应用程序中复制了信用卡#或SS#? )。

Do you mean read it from the pasteboard without having the user actually paste it? If so, then the answer is a definite no -- reading the pasteboard without user input would be a security no-no (suppose you'd just copied your credit card # or SS# in another app?).

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