Im new to this lIbrary and to swift and im looking to remove this "Done" grey bar. How can I go about doing this? And other input would be of great help.
import UIKit
import Firebase
import IQKeyboardManagerSwift
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
//Configures all of Firebase
FIRApp.configure()
//Configure Key Board manager from Library (IQKEYboardManagerSwift)
IQKeyboardManager.sharedManager().enable = true
//Tab Bar Appearnece
UITabBar.appearance().barTintColor = UIColor.black
UITabBar.appearance().tintColor = UIColor.white
return true
}
viewDidLoad() self. chatTextField. inputAccessoryView = [[UIView alloc] init]; //This will remove toolbar which have done button.
IQKeyboardManager (Objective-C): Just drag and drop IQKeyboardManager directory from demo project to your project. That's it.
In your AppDelegate you can add:
IQKeyboardManager.sharedManager().enableAutoToolbar = false
to disable the toolbar.
Also under MARK: IQToolbar handling
you'll find properties which might help you customize the toolbar the way you want.
Don't forget to explore the IQKeyboardManager.swift class a bit ;]
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With