After preAuthorizing using AuthorizationCopyRights(...)
how do I unauthorize it using Apple's Authorization Services?
EDIT: Alright, I feel rather unintelligent now. I used to think that I shouldn't free the authorization reference and keep it for future use, but apparently I should make a new on开发者_Go百科e AuthorizationCreate(...)
every time I want the user to enter credentials?
AuthorizationFree(authRef, kAuthorizationFlagDestroyRights)
as documented in the Authorization.h header
精彩评论