Move View when keyboard appears and present it in a scrollView. Swift 3
问题 There are several similar questions on SO but non addresses the issue below. I'm working on a simple login view with just 2 textFields for email and password. The best UX is when a user taps one of the textFields, the keyboard pops in, and the view moves up, while becoming a scrollView. This way, a user can still see what other UI elements are on the screen. User should also be able to hide the keyboard by swiping down. (Instagram and other big boys have this implemented) I was able to built