Rasmus
Rasmus

Reputation: 2933

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

Upvotes: 2

Views: 1060

Answers (1)

Justus Jianxing Zhang
Justus Jianxing Zhang

Reputation: 410

try :

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

Upvotes: 3

Related Questions