I\'m updating an app to use the latest Facebook SDK in order to gain access to the iOS6 native Facebook support. It currently uses a pretty old version of the Facebook SDK.
Sorry but for me in ios6 the line
ACAccountType* at = [as accountTypeWithAccountTypeIdentifier: @"com.apple.facebook"];
Does not return nil even if the user does not have an account configured...
Which means you can just check what is the ios version of the user (5 or 6)
NSString *currSysVer = [[UIDevice currentDevice] systemVersion];
This link can be helpful.