简体   繁体   中英

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

[[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.

You can use the MFMessageComposeViewController to present the SMS composer in you own app.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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