ACAccountStore requestAccessToAccountsWithType:options:completion always showing permissions prompt

As the title suggests, I'm having an issue with the method ACAccountStore requestAccessToAccountsWithType:options:completion. I expect this method to only prompt the user for permission the first time it is called for my app, but it is being shown every time.


Is there some way of checking whether the user has granted permission so I don't have to request it? Or is there some other kind of magic that will stop this behaviour?

I find this very odd, since in an earlier version of the same app, the behaviour was as I expected - it only prompted for permission on the first call.

Replies

Have you resolved the problem? Does this issue occur for OS X 10.11?