Did you make sure to include the header?
Objective-C
#import <Accounts/Accounts.h>
Swift
import Accounts
質問
I'm trying to use the ios Account Framework. I already added the Accounts.Framework in my build phases, but I still get the error
Use of undeclared identifier "ACAccountStore"
Anyone know why? Social.Framework works fine for me.
解決
Did you make sure to include the header?
#import <Accounts/Accounts.h>
import Accounts
他のヒント
Maybe you forgot to import it?
#import <Accounts/Accounts.h>
EDIT: Now I know where it's declared, so updated my answer. :)