且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

从SMS消息启动应用程序

更新时间:2022-12-21 19:05:10

允许你的应用程序回复一些网址(例如:myapp:// launch)并包含网址在SMS中,当用户启动该应用程序将启动的URL时。

Allow your application to respond to some url (eg: myapp://launch ) and include the url in the SMS, when the user launches that URL your application will launch.

我确信这不是最直接的方式(因为SMS需要包含您的自定义URL)但我不知道是否可以使用任何用于启动任意应用的任意短信

I'm sure that is not the most straight forward way (since the SMS needs to include your custom URL) but I don't know if it is possible with any arbitrary SMS to launch an arbitrary applciation

在iphone URL方案上做一个google,你会发现很多关于如何实现这个的详细信息

do a google on iphone URL scheme and you will find lots of detail on how to implement this

这里有示例