SwiftUI equivalent of MFMailComposeViewController
Changes:
- updated target platform to be ios 14, so that all the @Binding stuff is supported
dependencies: [ .package(url: "https://github.com/mohammad-rahchamani/MailView.git", .upToNextMajor(from: "0.0.1")) ]
`pod 'MailView', '~> 0.0.1'
import MailView
in your SwiftUI View file.
present MailView
as a sheet in your view.