A frequent problem for iOS engineers is to detect that the keyboard is hiding the space made for entry of text. I’ve had to solve this issue at least once in each of iOS 7, 8 and 9. This solution has not been tested with iOS 8, but it works great with iOS 9.