Skip to content
0:00 / 0:00

#mfmessagecomposeviewcontroller#messageui

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

Michael Miles

984 subscribers • 6 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.
  • Presented by Michael Miles
  • Linked in the descriptionmgm720/iMessage-Sharing
  • May be out of date. The tools, versions or practices it shows have likely moved on.

Beginner. No background in the topic needed.

1.7K views7 years ago1 recommendation

Mobile developmentiOS and SwiftUISwift

Michael Miles demonstrates how to integrate iMessage sharing into an iOS app using the MessageUI framework in Swift.

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: github.com/mgm720/iMessage-Sharing Twitter: twitter.com/MilesOfTweets Instagram: instagram.com/michaelmilestv/ Swift Life Podcast: anchor.fm/michael-miles04

Why it's here

1 person recommends this

What people say. Recommended as a straightforward guide to implementing iMessage sharing in iOS apps.

u/michael-g-milesin r/swift • Recommends

Share via iMessage in Your App in 4 Steps Using MFMessageComposeViewController