Skip to content
This repository has been archived by the owner on Apr 22, 2021. It is now read-only.

Fix UITextView inset #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fix UITextView inset #1

wants to merge 1 commit into from

Conversation

sukolsak
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant