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

Incorrect height on iOS 11 #24

Open
AlexandrPonomarev opened this issue Feb 26, 2018 · 3 comments
Open

Incorrect height on iOS 11 #24

AlexandrPonomarev opened this issue Feb 26, 2018 · 3 comments

Comments

@AlexandrPonomarev
Copy link

Hey. On iOS 11, the height of the parallax header is equal to the height that I set + the height of the navigation bar + the height of the status bar. On iPhone 8/8+ height = myHeight + 64, on the iPhone X height = myHeight + 88. On a lower version, iOS is all good. How can this problem be solved?

@alissonbarauna
Copy link

I'm having a similar problem on iOS10. The height is lower on iOS10, clipping my header by almost the half. :/
Can someone help us?

@Ptbaileys
Copy link

Try
if #available(iOS 11.0, *) {
self.tableView.contentInsetAdjustmentBehavior = .never
}

@pauloec
Copy link

pauloec commented Aug 30, 2018

automaticallyAdjustsScrollViewInsets = false

Will do it for any scrollView you might have

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

4 participants