简体   繁体   中英

How can I send sms with text by using phonegap on iphone?

I am trying to send sms on iphone. But it works with only sms number well, but it doesn't work with sms number and text.

In other words, following works well.

<a href="sms:+05212341234">Send sms</a>

But it doesn't work.

<a href="sms:+05212341234?body=hello">Send sms</a>

I am using phonegap now, if you know its reason, please help me. Cheers.

使用此SMS composer插件进行phonegap,对我来说工作正常。

https://github.com/phonegap/phonegap-plugins/tree/master/iPhone/SMSComposer

我不知道是否是这种情况,但您拼写了“ href”,而是写了“ herf”

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