从我的应用程序中将我踢回当前的短信对话?
我的应用程序基本上允许我进入并将图像复制到剪贴板。 然后,我想在消息应用程序中自动打开用户当前的短信对话,以便他们可以将其粘贴进去。
到目前为止,我知道执行此操作的唯一方法是使用 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Apple 没有批准以编程方式从应用程序打开“消息”应用程序的方法。
There is no Apple Approved method of opening the Messages app from your application, programmatically.