1

iOS6.1シミュレーターに大きな問題があります。私のアプリは電話(シミュレーター)の設定に表示されません。上の画像を参照してください。

Facebookの設定

ここに画像の説明を入力してください

アカウント許可をリクエストするためのコードは、物理デバイスで正しく機能します。

ACAccountStore *account = [[ACAccountStore alloc] init];
ACAccountType *accountType = [account accountTypeWithAccountTypeIdentifier:
                              ACAccountTypeIdentifierTwitter];


[account requestAccessToAccountsWithType:accountType options:nil
                              completion:^(BOOL granted, NSError *error)
 {
     if (!granted){
         NSLog(@"____TW not granted:%@ ",error.localizedDescription);
     } else {
         NSLog(@"____TW granted");
     }

 }];

どうすれば解決できますか?シミュレーターを再初期化しようとしましたが、効果がありませんでした。

ありがとう

4

0 に答える 0