[英]I want to msg a phone using sms but have it send the person back after the text is complete like “telprompt” but for sms
I am wondering if there is a way "sms" can take a person back to the app when they are done with their text? 我想知道是否有一种方法可以使“短信”在完成文字处理后将用户带回应用程序? I know the phone method can by using "telprompt:%@" but can the sms be done that way as well so something like
我知道电话方法可以通过使用“ telprompt:%@”来实现,但是短信也可以通过这种方式完成,例如
[[UIApplication sharedApplication] openURL: @"smsprompt:%@"];
or is there a different method to do this as the example above doesn't work. 还是有其他方法可以执行此操作,因为上面的示例不起作用。
There is no URL scheme like telprompt:
for SMS, you should even not use telprompt:
since it is not an official URL scheme and might be removed by Apple is some future version of iOS with warning. 没有像
telprompt:
这样的URL方案telprompt:
对于SMS,您甚至不应该使用telprompt:
因为它不是官方的URL方案,并且可能会被Apple删除,这是带有警告的iOS的某些将来版本。
You can use the MFMessageComposeViewController
to present the SMS composer in you own app. 您可以使用
MFMessageComposeViewController
在您自己的应用程序中显示SMS MFMessageComposeViewController
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.