Skip to content
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

iOS 10 Status bar issue #26

Closed
fabiangiger opened this issue Apr 30, 2018 · 1 comment
Closed

iOS 10 Status bar issue #26

fabiangiger opened this issue Apr 30, 2018 · 1 comment

Comments

@fabiangiger
Copy link

Hi All,

I'm having having an issue where the header is shown bellow the status bar.
So the header.y == statubar.maxY.
The tableview's.y == 0. So the content is shown bellow the status bar.
Can anyone help?

Thanks in advance!

@jhrasco
Copy link

jhrasco commented May 4, 2018

let statusBarHeight = UIApplication.shared.statusBarFrame.height
tableView.contentInset = UIEdgeInsetsMake(-statusBarHeight, 0.0, 0.0, 0.0)

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

No branches or pull requests

2 participants