Ganesh
Ganesh

Reputation: 1079

UITextView Spelling correction is not working some times

I am implementing spelling correction in my UITextView like this

[txtView setAutocorrectionType:UITextAutocorrectionTypeYes];
[txtView setAutocapitalizationType:UITextAutocapitalizationTypeWords];

It is working sometimes but, some times it is not working..

Please suggest me ho wi works.

Upvotes: 0

Views: 1300

Answers (1)

Mohsin Qureshi
Mohsin Qureshi

Reputation: 1213

Select your UITextView in Story Board. In Attribute Inspector under "Text View" section find "Correction" and "Spell Checking" and select "Yes" for both.

Don't worry if you don't want to allow Correction. You can switched off "Auto Correction" in your iPhone Device Keyboard Settings.

And make sure you have switched on Check Spelling in Settings -> General -> Keyboard -> Check Spelling on your iPhone Device.

Thanks, Mohsin

Upvotes: 2

Related Questions