ACAccountStore Error 6 (ACErrorAccountNotFound) and 8

前端 未结 3 1643
离开以前
离开以前 2020-12-14 23:38

I\'m attempting to get an account from ACAccountStore using the following code:

- (void) facebookLoginOnSuccess: (void (^)(void)) successBlock onError:(void(^         


        
3条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-14 23:45

    jAmi has the right idea, but I don't like the idea of the magic numbers in the code. There is an enum that has the numbers built into it (ACErrorCode).

提交回复
热议问题