The working syntax on iOS (as in 11.2) looks like sms:123&body=mybody
, pay attention to &
as a separator, and not on ?
,
Be careful, although this &
separator is contrary to RFC5724 (and Android), so it may change slightly in future versions of iOS.
It's also interesting that Apple has this to say (emphasized by me):
The format of the URLs of this type is sms:<phone>
, where <phone>
is an optional parameter indicating the target phone number of the SMS message. This parameter can contain numbers from 0 to 9 and symbols of plus (+), hyphen (-) and period (.). The URL string must not contain message text or other information.
source share