Reputation: 97
With imessage, is there any API or service provided by Apple that can be used to send SMS, image & video from within an app?
Upvotes: 3
Views: 1729
Reputation: 69469
No you can't directly use iMessage, you can use the MFMessageComposeViewController
to send a SMS.
If the system then detects if the other user supports iMessage the SMS will be send via iMessage.
You can't force a message to send via iMessages.
Also there is no support for sending images or videos in a message via the MFMessageComposeViewController
. Because MFMessageComposeViewController
only support SMS which does not support images or videos.
Upvotes: 4
Reputation: 8947
Use MessageUI
framework and use
MFMessageComposerDelegate
for SMS and
MFMailCoposerDelegate
for email.
all it's provided by apple
Upvotes: 0