For some reason, even though I disable the auto-cap and auto-correct of my UITextField, it\'s still capitalizing the first letter of my input.
Here is the code:
If you wish to disable Auto-Cap/autocorrect on a UITextField for whole project,
then make a class which will inherit the UITextField class and init method set the autoCorrectionType to "no".
Class AppTextField: UITextField {
override init(frame: CGRect) {
super.init(frame: frame)
//setting the autocorrection to no
self.autocorrectionType = .no
}
}
Then in storyboard set the cusotom class for textfield to AppTextField.