IOS SMS outline in HTML body hyperlink

We are trying to create a hyperlink on an HTML page that should open predefined SMS - when a user removes this link on our page, the SMS application should open with a predefined number and body. We were able to successfully set the number, but we cannot set the body of this text message. Is it possible?

The link that we are trying to make:

<a href="sms:123456789?body=sometext">sms link</a>

Thank you very much for your help!

+5
source share
4 answers

No , this is not possible.

sms Messages. URL- ":", - SMS-. 0 9 (+), (-) (.) . URL .

: SMS- iPhoneURLS

+5

iOS 8:

<a href="sms:123456789&body=sometext">sms link</a>

i 1234... ,

+7

:

iOS 8 ( iOS 7):

<a href="sms:123456879&body=bodytext">Send sms</a>

Android 4.x, NOT ON 5.x

<a href="sms:123456879?body=bodytext">Send sms</a> 

smsto, , Android 5

, :

https://jsfiddle.net/w4vcyjfw/14/

+4

Yes it is possible.

A small gift for ios 5 and 6

<a href="sms:123456789;body=sometext">sms link</a>

+2
source

All Articles