teodorpatras/SideMenuController

iPhone X status bar wrong height

RuslanasMobOn opened this issue · 6 comments

iPhone X have 44 points height status bar, so instead of line
let DefaultStatusBarHeight : CGFloat = 20
should be
let DefaultStatusBarHeight : CGFloat = UIApplication.shared.statusBarFrame.size.height
in UIKitExtensions.swift file

I was here because of that issue, but your comment fixed it for me. Thank you :)

I have just replaced the constant DefaultStatusBarHeight with UIApplication.shared.statusBarFrame.size.height

But in my application
UIApplication.shared.statusBarFrame.size.height is 20pts even on iPhone X.
Do you know this issue?

@sonjh1217 I have the same issue. Did you find a solution? Thanks

This is not included in 0.2.4. How to get this update?

This should probably be closed