How do you change background color of toolbar , done color, arrow colors, and hide the text title on the toolbar in the middle?
Asked
Active
Viewed 3,365 times
2 Answers
12
You can change the appearance of Next
/Previous
(arrow) and Done
buttons color by setting tintColor
of the toolbar using below code.
To change arrow and done button colors to red:
IQKeyboardManager.shared.toolbarTintColor = .red
To hide text title on the toolbar in the middle
IQKeyboardManager.shared.shouldShowToolbarPlaceholder = false
I haven't find any property to change bar color but can change background color of IQToolbar
class itself.
If you find any, then add here for other's reference.

Surjeet Singh
- 11,691
- 2
- 37
- 54
0
IQKeyboardManager.shared.toolbarBarTintColor = .red
This is changing the toolbar bg color. It is actually quite easy to understand just by reading IQKeyboardManager code comments ( if you first familiar with UIKit itself)

Zaporozhchenko Oleksandr
- 4,660
- 3
- 26
- 48