ios社会框架重复推文问题

时间:2014-10-13 07:32:34

标签: ios twitter social-framework

我在iOS中使用Social Framework进行Twitter集成

SLComposeViewController * composeVC  = [SLComposeViewController composeViewControllerForServiceType:SLServiceTypeTwitter];

success = [composeVC setInitialText:[NSString stringWithFormat:@"xxx"]];
SLComposeViewControllerCompletionHandler myBlock = ^(SLComposeViewControllerResult result)
{

     if (result == SLComposeViewControllerResultCancelled)
     {
     }
     else
     {
         [self shareApiCall:service];
      }

      [composeVC dismissViewControllerAnimated:YES completion:Nil];
};

由于我们正在推文相同的事情,它在代码中取得了成功,但随后重复了弹出窗口。有什么方法我们可以知道发布的推文是一个重复的推文(通过代码)?

0 个答案:

没有答案