Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you remove the < > (next / previous) Done toolbar in Eureka forms?

How do I remove the toolbar with " < > Done" on top of the keyboard when a Eureka form row is selected? I'd just like to have the regular keyboard. It isn't clear from the documentation how to do this. Also, what is this toolbar generally referred to as in the iOS documentation? Thank you.

like image 487
demig0d Avatar asked Jul 29 '16 15:07

demig0d


1 Answers

You must override the following method on your viewController

override func inputAccessoryViewForRow(row: BaseRow) -> UIView?

and simply return nil there something like this

override func inputAccessoryViewForRow(row: BaseRow) -> UIView? {
    return nil
}

Swift 3.0

thanks to @ T.Coutlakis

override func inputAccessoryView(for row: BaseRow) -> UIView? {
    return nil
}

this is the result

enter image description here

Hope this helps you

like image 192
Reinier Melian Avatar answered Oct 21 '22 06:10

Reinier Melian