ios - Facebook and keyboard animation management -


does know how implement composerbar , keyboard appearing in facebook messenger?

after scrolling tableview up, keyboard appears bottom smoothly , without jumps . in similar implementation works this: after scrolling up, when tableview bottom offset < 0, composerbar's input text field become first responder , keyboard jumps finger. yes, use uiscrollviewkeyboarddismissmodeinteractive.

how facebook implement smooth animation?

keyboard

edit: try explain how works in facebook messenger, step step.

i have inputaccessoryview on viewcontroller (tableviewcontroller). start scroll tv (pic 1)

enter image description here

then, if bottom inset become more value (for example 10) (pic 2), set firstresponder inputtextfield (pic 3)

enter image description here enter image description here

so, in common case, 'uiscrollviewkeyboarddismissmodeinteractive', keyboard jumps finger position (pic 4) enter image description here

but! in facebook messenger keyboard drags bottom distance equal distance traveled finger. (pic 5)

enter image description here

so, facebook messenger somehow control keyboard moving. question is: how??

what looking input accessory view

it property of uitextview/uitextfield allows set custom view displayed above system keyboard.


Comments

Popular posts from this blog

android - Gradle sync Error:Configuration with name 'default' not found -

java - Andrioid studio start fail: Fatal error initializing 'null' -

html - jQuery UI Sortable - Remove placeholder after item is dropped -