I am trying to present SLComposerViewController with service type Twitter. It is taking 5 to 6 second to present the twitter composer view. Once it presented, next time onwards the delay to present twitter view reducing gradually. Here is my code
dispatch_async(dispatch_get_main_queue(), ^{
if ([SLComposeViewController isAvailableForServiceType:SLServiceTypeTwitter])
{
SLComposeViewController *tweet = [SLComposeViewController
composeViewControllerForServiceType:SLServiceTypeTwitter];
[tweet setInitialText:initialText];
[myViewController presentViewController:tweet animated:YES completion:nil];
}
});
Any help would be appreciated :)
Thanks.