Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[iOS 14] Add the mailto URL mode as first choice for sending email #76

Open
matpag opened this issue Jul 27, 2021 · 0 comments
Open

[iOS 14] Add the mailto URL mode as first choice for sending email #76

matpag opened this issue Jul 27, 2021 · 0 comments

Comments

@matpag
Copy link

matpag commented Jul 27, 2021

iOS 14 added the ability to change the predefined email app.

Instead of relying only on MFMailComposeViewController we can try to use the mailto alternative which will re-direct to the predefined email app configured by user.

On iOS 14+ if the attachments param is null (attachments are not supported by mailto protocol) we could try with mailto URL and if it fails fallback to MFMailComposeViewController.

More details here: https://stackoverflow.com/a/66379220/2910520

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant