How to add done button on keyboard on top of keyboard in IOS?
I want to add the Done button on the top of keyboard on right side in iOS for a textView.Please tell me how can i do that? I want to achieve something similar to the above keyboard It can be done using storyboard: Add UITextField to UIViewController view. Add UIToolbar in the first level of UIViewController Add UIBarButtonItem into the UIToolbar. Connect UItoolbar to the code using IBOutlet. Connect UIBarButtonItem to the code using IBAction (as didClick). Make the UITextField will be delegating to UIViewController. In the didClick function end editing ( view.endEditing(true) ) In the delegate