Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Autocapitalization of words does not work in UITextView

I've got a UITextView that needs to autocapitalize words. However, when I call any of these methods, the view does not respond.

[self.fullNameTextView setAutocapitalizationType:UITextAutocapitalizationTypeWords];
self.fullNameTextView.autocapitalizationType = UITextAutocapitalizationTypeWords;

Is this a bug in iOS 8.1?

like image 606
bdv Avatar asked Nov 28 '22 16:11

bdv


2 Answers

I had the same issue and was able to solve it by settings my Keyboard type back to DEFAULT:

enter image description here

like image 99
Alexey Strakh Avatar answered Dec 05 '22 14:12

Alexey Strakh


Please check your device Settings → General → Keyboard → Auto-Capitalization is turned on.

Keyboards Settings

like image 20
jenish Avatar answered Dec 05 '22 15:12

jenish