Reset UIKeyboard State
Posted
by
kamziro
on Stack Overflow
See other posts from Stack Overflow
or by kamziro
Published on 2012-04-04T15:33:46Z
Indexed on
2012/04/05
5:28 UTC
Read the original article
Hit count: 218
I have a UITextView which the keyboard enters values into. However, if you clear the text value (i.e uitextview.text = @""), the keyboard's state does not reset to the lowercase alphabet keyboard.
That is, if I was in the middle of typing "hello.." and the textview gets cleared, the keyboard still shows the symbols, rather than back to the alphabetical letters.
Is there a way to get around this?
© Stack Overflow or respective owner