从SMS中的链接启动应用程序 [英] Launch an app from a link in an SMS
问题描述
我有一个非常奇怪的要求...
我需要启动我的应用程序,例如,通过短信收到的超链接。
这可以以某种方式完成?
我的意思是,接收短信的人只需点击特殊短信中提供的链接,即可启动应用程序。
类似于调用的特殊链接设备中的应用...
I have a very strange requirement...
I need to launch my app from let's say, a hyperlink that is received in an SMS.
Can this be done somehow?
I mean, the person who receives the SMS simply taps on the link provided in the "special SMS", and that launches the application.
Something like a special link which invokes the app in the device...
我偶然发现了一篇文章,展示了如何在iOS4中以编程方式创建和发送邮件正文,我认为这可能对我有所帮助创建特殊消息
因此创建消息可能不是问题...:|
这是调用部分...
任何人都知道可以做什么???
建议和示例代码非常感谢... :)
提前致谢!
I have stumbled into an article that shows how message body can be created and sent programmatically in iOS4 and I think that might help me in the creation of the "special message"
So creation of the message may not be an issue here... :|
It's the invocation part...
Anybody knows what can be done???
Suggestions and sample codes greatly appreciated... :)
Thanks in advance!
推荐答案
好消息,它可能而且非常简单(实际上非常简单)
Good news, it is possible and quite simple (really easy in fact)
看看< a href =https://web.arch ive.org/web/20110222053023/http://iphonedevelopertips.com/cocoa/launching-your-own-application-via-a-custom-url-scheme.html\"rel =nofollow noreferrer>本教程
更新:似乎短信应用程序无法自动识别该地址类型
Update : it seems that the SMS app doesn't auto recognize that address type
这篇关于从SMS中的链接启动应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!