Closed cjrieck closed 7 years ago
The status bar height is 44 for iPhone X, so it seems like the 20 needs to be updated for iOS 11 and iPhone X. I confirmed that returning only the UIApplication.shared.statusBarFrame.size.height fixes the issue. Any help would be greatly appreciated!
Great to hear that. I'm trying to remember why that minimum(20,
is in place, but for now, nothing comes to mind 😬
No worries! Thanks for the help and speedy response!
👍
Released 4.0.1
with the fix.
What about this fix for version 3.x ?
Sure, feel free to open a pull request.
Hi there! Thank you for the awesome library! I was running my app using the Xcode 9 GM and iPhone X simulator when I noticed the
title
was a bit close to the notch in the sim:This only happens after the navbar collapses and expands. It's starts out ok.
It could be an issue is in the
statusBarHeight
here:Not sure how big the status bar height is now, butThe status bar height is44
for iPhone X, so it seems like the20
needs to be updated for iOS 11 and iPhone X. I confirmed that returning only theUIApplication.shared.statusBarFrame.size.height
fixes the issue. Any help would be greatly appreciated!