nathantannar4 / InputBarAccessoryView

A simple and easily customizable InputAccessoryView for making powerful input bars with autocomplete and attachments
MIT License
1.17k stars 229 forks source link

KeyboardManager conflicts with system keyboard movement: How to resolve? #245

Open make1a opened 1 year ago

make1a commented 1 year ago

When I use

 class InputAccessoryExampleViewController: CommonTableViewController {

    // MARK: - Properties

    override var inputAccessoryView: UIView? {
        return inputBar
    }

    override var canBecomeFirstResponder: Bool {
        return true
    }

    // MARK: - View Life Cycle

    override func viewDidLoad() {
        super.viewDidLoad()
    }

}

I can touch the inputBar to make the system keyboard move down with my gesture. However, our design strongly requires that I have the same effect when using keyboardManager, instead of sliding down to the system keyboard before it moves down. How can I implement this feature?