';名为';在twitter上发布时出错

';名为';在twitter上发布时出错,twitter,uiviewcontroller,cocos2d-iphone,ios8,xcode6,Twitter,Uiviewcontroller,Cocos2d Iphone,Ios8,Xcode6,我正试图从我的应用程序在Twitter上发帖,但我一直在日志中发现以下错误 LaunchServices: invalidationHandler called 下面是我在推特上发帖的方法。此方法位于继承的UIViewControllerTwitterViewController类中 -(void)tweetHighscore { if ([SLComposeViewController isAvailableForServiceType:SLServiceTypeTwitter]) {

我正试图从我的应用程序在Twitter上发帖,但我一直在日志中发现以下错误

LaunchServices: invalidationHandler called
下面是我在推特上发帖的方法。此方法位于继承的
UIViewController
TwitterViewController类中

-(void)tweetHighscore  {
if ([SLComposeViewController isAvailableForServiceType:SLServiceTypeTwitter])
{
    SLComposeViewController *tweetSheet = [SLComposeViewController composeViewControllerForServiceType:SLServiceTypeTwitter];
    [tweetSheet setInitialText:@"Tweeting from my own app! :)"];
    [self presentViewController:tweetSheet animated:YES completion:nil];
    CCLOG(@"it's working okay");
        }
}
编辑:

我设置了一个断点,似乎是
presentViewController:animated:completion:
导致了
invalizationhandler