Twitter integration issue with ACAccountStore (iOS 5)
问题 When I run below code with iOS 6.0, Its working ACAccountStore *account = [[ACAccountStore alloc] init]; ACAccountType *accountType = [account accountTypeWithAccountTypeIdentifier:ACAccountTypeIdentifierTwitter]; [account requestAccessToAccountsWithType:accountType options:nil completion:^(BOOL granted, NSError *error) { dispatch_async(dispatch_get_main_queue(), ^{ if (granted) { //MY CODE } }); }]; and When I run this code with iOS 5.0 or 5.1, It crashes with following output, ***