How not to ask for publish permission everytime?
I did this in facebook
[self vSuspendAndHaltThisThreadTillUnsuspendedWhileDoing:^{
[[NSOperationQueue mainQueue] addOperationWithBlock:^{
[self.ACAstore requestAccessToAccountsWithType:self.ACAccounts
options:[self dicPostOptions] completion:^(BOOL granted, NSError
*error) {
self.bPermissionToAccessStoreGranted=granted;
[self vContinue];
}];
}];
}];
Basically I am asking for publish permission. What I want to do is to
check whether such publish permission has been granted or not before
asking again.
How to do so?
No comments:
Post a Comment