Usually auto capitalization and auto correction are enabled in iOS, however at times there will be a need to disable auto capitalization and auto correction. For example when user is setting up his account or when user is entering his password. This can be done either programmatically or can be done in the story board. Let us explore how to do this programmatically.
In iOS UITextInputTraits protocol defines the features that are associated with the key board input. This protocol is implemented by UITextField and UITextView. Property autocapitalizationType determines the characteristics of auto capitalization and property autocorrectionType determines the characteristics of auto correction. To disable auto capitalization in text view
Similarly to disable auto correction in text field