Whats the Correct Way to Prompt a User for their Password?
问题 This is a follow up to this question. If I'm going to store a user's username and password with Keychain Services, should I simply create my own prompt view with an NSSecureTextField for the password, and then once the user enters their info pass it to a Keychain Services API (I found this one)? I'm concerned Apple won't like me interacting with a users sensitive data directly like that. 回答1: this sounds like the appropriate thing to do. The following function calls will do the stuff you need