reloadInputViews doesn't change from numbers to text

When using reloadInputViews() on a UITextView, if the keyboard is showing emojis it successfully resets to the default text view, but when the keyboard is showing numbers of special characters, it doesn't do anything. Do I have to implement a custom input view in order to achieve this ? I don't want it to resign and become first responder to make it work.

Answered by axel.mr in 771660022

Just in case someone has the same problem, the solution is that first you have to reset the keyboard type to alphanumeric and reload inputs and next change the keyboard type to default and reload inputs again.

Accepted Answer

Just in case someone has the same problem, the solution is that first you have to reset the keyboard type to alphanumeric and reload inputs and next change the keyboard type to default and reload inputs again.

reloadInputViews doesn't change from numbers to text
 
 
Q