In my codes, I use an ASAuthorizationController instance to perform an ASAuthorizationAppleIDRequest, by this time my application will invoke an alert window gives two options:
- close(the window) 2. Go to Settings(to login apple id).
when I choose close, the authorizationController:didCompleteWithError was called, but the error.description I received was:
Error Domain=com.apple.AuthenticationServices.AuthorizationError Code=1000, which means unknown error.
But why? the error domain was not "ASAuthorizationErrorDomain"(which is declared in documents), and why the error code is not ASAuthorizationErrorCanceled:1001, which means I cancel to login as apple id??
Any thoughts/suggestion might help would be appreciated.