Scroll when the keyboard appears

0

I have a question about how to handle when the keyboard comes out in an iOS application.

It turns out that in Spotify on the iPhone when you are going to register, you select a field and exit the keyboard. The registration button is covered. They have solved it by making it possible to scroll through the view and thus reach the button.

My question is this: Have you solved it with a TableView ? Or is there some way to get that effect without using the TableView ?

I remember that I do not look up when the keyboard comes out. I want to scroll.

    
asked by Alvaro Royo 31.05.2017 в 16:29
source

2 answers

1

It worked for me to use this library link

It always shows the textfield doing a scroll type, if you have assigned something in the property PlaceHolder also shows it on the keyboard and you can customize the next, previous and hide keyboard buttons.

    
answered by 23.06.2017 / 18:49
source
2

Simple, when we have a scrollView or a tableView there is a keyboard option that is usually like: do not dismiss , change this option to dismiss interactly or dismiss on drag and the keyboard will be hidden from you when scrolling or touching the scroll. Another option is to apply a gesture to the view and activate a method that hides the keyboard.

    
answered by 02.06.2017 в 12:50