I have to share Text appending with the
url using the
UIActivityController. It shows Email, twitter and other sharing. But Facebook sharing is not shown. I have already signed in with the Facebook too.
Here is my code.
NSString *str_link = @"www.examplelink.com"; NSArray *movieitems = [[NSArray alloc] initWithObjects:@"Check out this really cool!n", str_link, nil]; UIActivityViewController *controller = [[UIActivityViewController alloc]initWithActivityItems:movieitems applicationActivities:nil]; [self presentViewController:controller animated:YES completion:nil];