Send SMS IOS

F Fernando Coelho da Silva 3 years 7 months ago
7 1 0

Is there any solution to send an SMS with the text filled in IOS.

Have the Intent in android, and iOS know has URLschema. I tried to use the IOS URLschema more only worked on iOS 5, 6. Someone has already implemented something similar or exit, a feature that I could use?

The share options are very limited in IOS.

Please Register or Login to post a reply

1 Replies

J Jon Tara

It's possible to pre-fill the text, but only using the SDK, not with a URL. So, you'd have to write a native extension.

There are plenty of tutorials on using the SDK for this. Here's one:

http://www.appcoda.com/ios-programming-send-sms-text-message/

It has a note at the end about using a URL:

In iOS, you’re allowed to communicate with other apps by using URL. The mobile OS already comes with built-in support of the http, mailto, tel, and sms URL schemes. When you open a HTTP URL, iOS by default launches the URL via Safari. If you want to open the Messages app, you can use the sms URL schedule and specify the recipient. However, such URL scheme doesn’t allow you to put default content.
Keep in mind on iOS there is no way for an app to send an SMS "silently". The user will get the standard iOS SMS dialog, and they will have to hit a button to send. Apple doesn't like "drive-by" SMS! (If you need to do this, you need to use an SMS gateway service.)

CONTACT
Can’t find what you’re looking for?