danielamitay / DAKeyboardControl

DAKeyboardControl adds keyboard awareness and scrolling dismissal (ala iMessages app) to any view with only 1 line of code.
Other
1.58k stars 214 forks source link

Fixing an issue where the in-call bar pushes the keyboard offscreen #85

Closed JaneenNeri closed 9 years ago

JaneenNeri commented 9 years ago

The window doesn't resize to account for the in-call bar. So if you toggle the in-call bar, then open the app, touching the screen causes the keyboard to update its position and get pushed slightly offscreen.

The solution is to change .window to .superview, because views adjust their size when the in-call bar appears.