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

Fix UITextView inset#1

Open
sukolsak wants to merge 1 commit intojonah-williams:masterfrom
sukolsak:bug
Open

Fix UITextView inset#1
sukolsak wants to merge 1 commit intojonah-williams:masterfrom
sukolsak:bug

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