SCLAlertView-Swift
SCLAlertView-Swift copied to clipboard
Textfield by default shift on?
I have the issue that by default the first letter of the input in a textfield always seems to be capitalized.
I am using the textfields for letting a user change it's email and password, which is why this is a bit annoying. For the password field, I would also like to have it be transformed into dots. Is that possible?
@warhost You could do it like this:
let alert = SCLAlertView(appearance: appearance)
let txt = alert.addTextField("Enter some data")
txt.autocapitalizationType = .none
txt.isSecureTextEntry = true