I am opening the Twitter compose view on my app, but the screen takes too long to be displayed!
I started using the following code when the user taps the twitter but
I had the same issue -- it was driving me crazy. I fixed it by dispatch_async on the main queue
// Perform this on the main queue
__weak __typeof(self) weakSelf = self;
dispatch_async(dispatch_get_main_queue(), ^{
__strong __typeof(self) strongLocalSelf = weakSelf;
SLComposeViewController *controller = [SLComposeViewController composeViewControllerForServiceType:SLServiceTypeFacebook];
[controller setInitialText:@"Share message"];
[controller addURL:@"http://www.someURL.com"];
[strongLocalSelf presentViewController:controller animated:NO completion:nil];
});