ios - ACAccountStore requestAccessToAccountsWithType:options:completion always showing permissions prompt -


as title suggests, i'm having issue method acaccountstore requestaccesstoaccountswithtype:options:completion. expect method prompt user permission first time called app, being shown every time.

is there way of checking whether user has granted permission don't have request it? or there other kind of magic stop behaviour?

i find odd, since in earlier version of same app, behaviour expected - prompted permission on first call.

answering own question. find useful day.

what seemed causing problem mismatch between permissions available app, in particular basic read permissions, , permissions requesting. while app's facebook page showed 'email' basic read-permission, requesting 'basic_info'. once changed permission 'email', app asked once , didn't again.


Comments

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

javascript - Complex json ng-repeat -

jquery - Cloning of rows and columns from the old table into the new with colSpan and rowSpan -