I have an app page with multiple textfields and one textview. The textview is similar to the message bar on chat apps.
When I tap the message textView box, the code I wrote adjusts the view according to the height of the keyboard. But when I call messageTextView.becomeFirstResponder() instead, the view does not raise with the keyboard.
Is there a difference between textView.becomeFirstResponder() and just tapping on the textView?
- I have tested and can see that the code to raise the view is called in the debugger. it just don't execute on screen.
- I have also tested and see that becomeFirstResponder() is returning true