IQKeyboardManager
IQKeyboardManager copied to clipboard
IQKeyboardManager.shared.toolbarDoneBarButtonItemText = "Готово" don't work
Describe the bug I use last version 7.0.1
I try to set IQKeyboardManager.shared.toolbarDoneBarButtonItemText = "Готово", but see error "'toolbarDoneBarButtonItemText' has been renamed to 'toolbarConfiguration.doneBarButtonConfiguration.title': To change, please assign a new toolbarConfiguration.doneBarButtonConfiguration"
How to set DoneButton title?
To Reproduce Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Demo Project If applicable, add demo project.
Versions
Xcode: x.x Mac OS: xx.xx.x Simulator/Device: xx.x Simulator/Device Name: iPhone xx Library Version: x.x.x
Additional context Add any other context about the problem here.
Somebody know?
@hackiftekhar help pls, it's ez question)
Somebody, pls :D
@hackiftekhar help pls, it's ez question)
@fury21 You can simply do like this:-
let config = IQBarButtonItemConfiguration(title: "Готово")
IQKeyboardManager.shared.toolbarConfiguration.doneBarButtonConfiguration = config