' invalidationHandler调用'在Twitter上发布时出错

时间:2014-09-23 17:41:25

标签: twitter uiviewcontroller cocos2d-iphone ios8 xcode6

我想从我的应用程序在Twitter上发帖,但我继续在日志中收到以下错误

LaunchServices: invalidationHandler called

以下是我在Twitter上发布的方法。此方法位于TwitterViewController类中,该类继承UIViewController

-(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:导致invalidationHandler

0 个答案:

没有答案