从我的应用程序中将我踢回当前的短信对话?

发布于 2025-01-02 21:56:45 字数 214 浏览 6 评论 0原文

我的应用程序基本上允许我进入并将图像复制到剪贴板。 然后,我想在消息应用程序中自动打开用户当前的短信对话,以便他们可以将其粘贴进去。

到目前为止,我知道执行此操作的唯一方法是使用 sms: 协议,该协议确实可以让我访问消息应用程序,但它只会让我进入空搜索字段或预设号码。有没有办法只打开消息应用程序?默认情况下,它会将您带到最近的对话。

作为备份,有没有办法告诉用户最近的对话号码?

My app basically lets me go in and copy an image to a clipboard. I'd like to then automatically open the user to their current SMS conversation in the Messages app so they can paste it in.

So far the only way I know of doing this is using the sms: protocol, which does get me to the messages app, but it will only let me go to an empty search field or to a preset number. Is there a way to just open the messages app? It would take you to the most recent conversation by default.

As a backup, is there a way of telling the number of the user's most recent conversation?

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

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

发布评论

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

评论(1

星光不落少年眉 2025-01-09 21:56:45

Apple 没有批准以编程方式从应用程序打开“消息”应用程序的方法。

There is no Apple Approved method of opening the Messages app from your application, programmatically.

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