Post

Replies

Boosts

Views

Activity

Reply to Disable password autofill in MacOS app
I have the same problem with my password manager app. Setting the NSTextContentType to NSTextContentTypeOneTimeCode may help, although in my case this makes it only slightly less annoying. What is needed is a way to disable the behaviour completely. This is now available with UIKit on iOS (UITextContentTypeNewPassword). I have a couple of NSSecureTextFields and they don't all behave the same way. Some heuristics are in play to enable the behaviour. Better documentation from Apple would be appreciated!
Topic: UI Frameworks SubTopic: AppKit Tags:
Feb ’21