I need to copy google hangouts keyboard. Right now I'm using a custom view as inputAccessoryView
. Using inputAccessoryView
lets me hide the keyboard interactively
(option to be set in the TableViewController from the IB), so the keyboard is hidden while the user swipes it down.
They keyboard let's you choose if you want to send text or an image from gallery or take a pic... When you tap the "Image Gallery button", the keyboard hides and shows the images that are in the gallery in the space the keyboard was. This is my problem, I have no idea how to hide the keyboard but keep showing the "inputAccessoryView" at the exact same position... Also where should I put the view that shows the images? Because if I include all that in the "inputAccessoryView" custom view, that's going to be shown all the time, because it's going to be included in the xib of my custom view...
Here is a gif with how the keyboard behaves:
Any clue?