Facebook and Twitter Sharing in IOS

Create a new Project in xcode and add Social.framework into your project. Good technical learning during corona times as well. Check Whether you have signed in facebook and twitter account in your iphone settings.If not sign in. In ViewController.h file, #import @interface ViewController : UIViewController – (IBAction)shareButton:(id)sender; @end In ViewController.m file, #import “ViewController.h” #import @interface ViewController () @end @implementation ViewController – (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view, typically from a nib. } – (void)didReceiveMemoryWarning { [super didReceiveMemoryWarning]; //…

Continue reading »