Read More
Read now

How to share content and posts on social apps like Facebook, Twitter, Email & Google+.

Save

Now these days its very common and popular to share content or post on social app like FacebookTwitterEmailGoogle+. I have some stuff that I have used to share content and posts on social apps. Add the following code in the ViewController.swift file in order to be able to post on FacebookTwitterEmailGoogle+ by tapping the relative buttons.

MFMailComposeViewController

In this writing, I want explore how to use MFMailComposeViewController with Swift to send e-mails within your app as a walkthrough. My focus here is “quick and dirty” pragmatism, so that we can easily see what the inter-working components of MFMailComposeViewController are. That being said, here’s an important disclaimer – I’m going to overload the View Controller’s responsibilities in the examples to follow.

Email

 

SLComposeViewController

SLComposeViewController is part of the Social framework, provided by Apple. It presents to the users a view that enables them to edit a post that’s going to be shared on social networks, such as Facebook, Twitter and Google+. In order to share content, you’ll provide theSLComposeViewController with information such as URL and initial text. so we’re sharing our code in this blog post.

Facebook

Twitter

Google+

 

. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


Be the first to comment.

css.php

Big thanks to Webkul and his team for helping get Opencart 3.0.3.7 release ready!

Deniel Kerr

Owner and Founder. Opencart

Talk to Sales
Start a Project

    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home