in a SpriteKit game I want to integrate facebook and twitter. I tried:
if ([SLComposeViewController isAvailableForServiceType:SLServiceTypeTwitter]) {
SLComposeViewController *tweetSheet = [SLComposeViewController composeViewControllerForServiceType:SLServiceTypeTwitter];
[tweetSheet setInitialText:@"love luvlee"];
}
but i can't present it using:
[self presentViewController:tweetSheet animated:YES completion:nil];
what could be the reason for that?