I’m trying to add my own custom inputAccessoryView
to the top of the keyboard. The view would hold a label, its text value would update via a binding between it and the TextFiled, which updates by default as the user types. There’d also be a clear text button, so the user can quickly clear the input value.
I’m looking at doing this so I don’t need to concern myself with manipulating the UI for the TextFiled (so users can see it while keyboard showing). Which is currently what I’m doing.
I’ve already managed to remove the autocorrectionType
accessory view in the TextFields loaded
event with view.ios.autocorrectionType = UITextAutocorrectionTypeNo
.
And I have a keyboardObserver set up to capture the keyboard UI height on UIKeyboardWillChangeFrameNotification
. That’s what I’m using to reposition the TextField so users can still see it.
So when it comes to implementing my own input accessory view, if this something I can handle in the TextFields loaded
event, the keyboardObserver
, or somewhere else?