I don't believe there is a way to do what I am about to ask, but I figure I would ask just in case.
I am currently subclassing UIActivityItemProvider
in order to provide customized messages for various social media platforms:
- (id)item
{
if ([self.activityType isEqualToString:UIActivityTypePostToFacebook]) {
//Possibly present some view modally here to let the user decide on text to return?
return @"Some facebook message";
} else if ([self.activityType isEqualToString:UIActivityTypePostToTwitter]) {
return @"Some Tweet";
}
}
The problem is that I'd like to provide the user an intermediary option on customizing the message ("Some facebook message") they want to post on facebook. Ideally this would be a UIActionSheet where they could pick one of three options on how they want their data formatted.
The UIActionSheet is just an example, but you can imagine other types of custom views presented in the segue from when a user hits the facebook icon until they see the actual UI where they type in their text for the post.
Is there any way to do this sort of behavior?