TWTRComposer会在15秒内自动解散

时间:2016-09-01 07:16:01

标签: ios twitter-fabric twtrcomposer

我正在使用Fabric提供的最新Twitter 2.4.0。 TWTRComposer在显示后15秒内自动解除,并在控制台中显示以下日志:

[1598:207673] plugin com.apple.share.Twitter.post interrupted
[1598:207084] plugin com.apple.share.Twitter.post invalidated
[1598:206158] viewServiceDidTerminateWithError:: Error Domain=_UIViewServiceInterfaceErrorDomain Code=3 "(null)" UserInfo={Message=Service Connection Interrupted}
[1598:206158] Tweet composition cancelled.

这就是TWTRComposer的呈现方式:

TWTRComposer *composer = [[TWTRComposer alloc] init];
[composer setText:trimmedText];
[composer setURL:[NSURL URLWithString:@"http://movies.ndtv.com/bollywood/shah-rukh-khan-is-prisma-perfect-see-what-he-shared-on-instagram-1440933"]];

            [composer showFromViewController:APP_DELEGATE.viewController completion:^(TWTRComposerResult result) {
                NSString *msg,*msgTitle;
                if (result == TWTRComposerResultCancelled) {
                    NSLog(@"Tweet composition cancelled");
                }
                else {
                    NSLog(@"Sending Tweet!");

                }
            }];

注意:发生这种情况时,推文视图不会填充任何预览图像。

0 个答案:

没有答案