1

I have a UITextField, and the keyboard shows a mic button, which I'd like to disable. I'm especially concerned that it shouldn't show on iPhone X.

I already disabled the Emoji keyboard by setting the keyboard type to "ASCII Capable". Is there another setting to remove dictation?

jscs
  • 63,694
  • 13
  • 151
  • 195

2 Answers2

1

We are talking about the mic symbol in lower right corner on an iPhone X. You should not remove it since this is where users of an iPhone X are expecting it.

Also you can not remove the keyboard switcher on the left. only if you use a custom view for the keyboard, but why?

enter image description here

As you can see on any other iPhone the mic key is still in the same position. keybord on none iPhone X

rckoenes
  • 69,092
  • 8
  • 134
  • 166
0

By changing type of keyboard you can discard things you don't want

textField.keyboardType = UIKeyboardTypeEmailAddress;

above one not exact solution but still that can give some idea regarding keyboard type

Hope this will help you

Ganesh Manickam
  • 2,113
  • 3
  • 20
  • 28