从SMS消息启动应用程序
我是 iphone
应用程序开发的新手。
I am new to iphone
application development.
我有一个示例应用程序,需要从短信。我不知道如何做到这一点。请帮帮我。
I have a sample application that needs to be launched from a SMS message. I have no idea on how to do this. Please help me.
允许你的应用程序回复一些网址(例如: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
这里有示例