How do you remove the < > (next / previous) Don

2019-05-07 01:46发布

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.

1条回答
Summer. ? 凉城
2楼-- · 2019-05-07 02:23

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

查看更多
登录 后发表回答