简体   繁体   English

如何在短信应用中看到我的应用程序在iphone中发送的消息?

[英]How can I see in SMS app my messages sent from within my app in iphone?

Suppose i got my friend's location in sms..What link should i send in the sms so that on clicking that link, it would open that lat/long in my MapApp.. how can i open that location in my MapApp?? 假设我在sms中找到了我朋友的位置。我应该在短信中发送什么链接,以便在点击该链接时,它会在我的MapApp中打开lat / long ..如何在MapApp中打开该位置? Please help me as soon as possible...Thanks in advance... 请尽快帮助我......提前致谢...

Sure. 当然。 If you include a URL that points to a Google Maps request, and your friend taps that URL, it will open up in Google Maps. 如果您添加指向Google地图请求的网址,并且您的朋友点按该网址,则会在Google地图中显示该网址。 You can see the format for the URL documented in Map Links . 您可以看到Map Links中记录的URL格式。

There is currently an geosms (available in android, not sure if they have it in ios) which does what you describe in your question. 目前有一个地理位置 (在Android中可用,不确定它们是否在ios中有它们),它可以完成您在问题中描述的内容。 Read GeoSMS and Geo URI to get an idea where to start. 阅读GeoSMSGeo URI以了解从哪里开始。

First follow the "Launching Your Own Application via a Custom URL Scheme" from the link http://iosdevelopertips.com/cocoa/launching-your-own-application-via-a-custom-url-scheme.html . 首先,请点击http://iosdevelopertips.com/cocoa/launching-your-own-application-via-a-custom-url-scheme.html链接中的“通过自定义URL方案启动自己的应用程序”。 After that the application will be opened from the SMS link. 之后,将从SMS链接打开该应用程序。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM