質問

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?

Objective-C

#import <Accounts/Accounts.h>

Swift

import Accounts

他のヒント

Maybe you forgot to import it?

#import <Accounts/Accounts.h>

EDIT: Now I know where it's declared, so updated my answer. :)

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top