Skip to content

Attempt to fix #59, status bar height is not hard-coded anymore, but derived from topLayoutGuide.length #61

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Conversation

tobihagemann
Copy link

Not sure about this one. Well at least it works in my opinion, but I still don't understand that comment about that "workaround".

I could've just used viewController.topLayoutGuide, but I considered this: http://stackoverflow.com/a/21541533/1759462, because it should also work with nested child view controllers.

So what's that all about? contentSize of UITableViewController being rendered with {0, 0}. Do you have any test cases?

I've also changed the example project to a Universal App, so that you can see that the modal presentation also works properly.

…re, but derived from topLayoutGuide.length
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant