Share via iMessage in Your App in 4 Steps - Swift 5

Опубликовано: 21 Май 2019
на канале: Mobile App Mike
1,646
16

By the end of this video, you'll know how to share an object and text from your own app via iMessage! For this we will use MFMessageComposeViewController. This is useful if you'd like to share exclusively to iMessage and want to customize the message/attachments.

Steps:
1) Import MessageUI & add MFMessageComposeDelegate
2) Create IBAction to send message
3) Fill out message data (text, attachments)
4) Complete didFinishWith method

Completed project: https://github.com/mgm720/iMessage-Sh...
Twitter:   / milesoftweets  
Instagram:   / michaelmilestv  
Swift Life Podcast: https://anchor.fm/michael-miles04