jonah-carbonfive/CustomInputViewDemo — pull request #1 by sukolsak (2013-11-25 10:30:28+00:00)
Title: Fix UITextView inset

`windowFrameInViewCoords.origin.y` is relative to the view, but `self.view.frame.origin.y` is relative to the view's **superview**. We should calculate the height using coordinates relative to the same view. This causes a problem in iOS 7 where `self.view.frame.origin.y` is not always 0.