小编use*_*886的帖子

- [__ NSCFDictionary objectAtIndexedSubscript:]:发送到实例的无法识别的选择器

我使用了一个教程在我的代码中包含My twitter主页,但对我来说不起作用.

这是代码

  @implementation VSViewController

   - (void)viewDidLoad
          {
[super viewDidLoad];

[self twitterTimeline];

    }

    - (void)didReceiveMemoryWarning
   {
[super didReceiveMemoryWarning];
// Dispose of any resources that can be recreated.
   }

      - (void)twitterTimeline {

ACAccountStore *account = [[ACAccountStore alloc] init]; // Creates AccountStore object.

// Asks for the Twitter accounts configured on the device.

ACAccountType *accountType = [account accountTypeWithAccountTypeIdentifier:ACAccountTypeIdentifierTwitter];

[account requestAccessToAccountsWithType:accountType options:nil completion:^(BOOL granted, NSError *error)
 {
     // If we have access to the Twitter accounts configured on the device we will contact …
Run Code Online (Sandbox Code Playgroud)

objective-c uitableview ios

3
推荐指数
1
解决办法
3738
查看次数

标签 统计

ios ×1

objective-c ×1

uitableview ×1