Hello I am developing an app, In which I have to integrate sharing Intent. I want to do sharing intent same as default Photo App. I have implemented below code but it doesn't work properly.
- (IBAction)shareButtonPressed:(id)sender
{
self.activityViewController = [[UIActivityViewController alloc] initWithActivityItems:@[self.textField.text] applicationActivities:nil];
[self presentViewController:self.activityViewController animated:YES completion:nil];
}
In my app facebook share icon doesn't display while in photo app it displays. Please help me.