Search code examples
iosiphonekeyboardiqkeyboardmanager

Removing "bar" above the iphone keyboard


In an iPhone app, when the user clicks a UITextField, this keyboard is displayed. I would like to remove the bar/area containg "<", ">" and "Done".

Any suggestions how to do that?

The keyboard toolbar

SOLVED It turned out that it was IQKeyboardManager that was adding the bar on top of the keyboard.

It was removed by this line in AppDelegate file:

IQKeyboardManager.sharedManager().enableAutoToolbar = false

Solution

  • try :

    self.<yourTextField/View>.inputAccessoryView?.hidden = true