haaakon / SingleLineKeyboardResize

With this non-intrusive UIViewController extension, only a single line of code will make your scrollView auto resize when the keyboard appears

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to use with small scroll view

zerox1212 opened this issue · comments

This seems to only work if your scroll view content is longer than the screen. I have a view with a single scroll view, but the content fits on the entire screen until the keyboard appears. So I only need to scroll when the keyboard is up. In this case the code shifts the display up, but scrolling is disabled.

Any idea how to get around this?