Open RuslanasMobOn opened 7 years ago
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
https://stackoverflow.com/questions/46703835/on-iphone-x-uiapplication-sharedapplication-statusbarframe-size-height-is-20/46829679#46829679 https://stackoverflow.com/questions/46703835/on-iphone-x-uiapplication-sharedapplication-statusbarframe-size-height-is-20/46829679#46829679 Could you try the answer? I also think it was because the launch screen doesn’t fit iPhone X.
On 20 Oct 2017, at 01:33, Samuel Sainz notifications@github.com wrote:
@sonjh1217 https://github.com/sonjh1217 I have the same issue. Did you find a solution? Thanks
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/teodorpatras/SideMenuController/issues/119#issuecomment-337964417, or mute the thread https://github.com/notifications/unsubscribe-auth/AG6nWk0IzVZmP0VvalZzZ3x1CfopPVhKks5st3nTgaJpZM4PVv0Y.
This is not included in 0.2.4. How to get this update?
This should probably be closed
iPhone X have 44 points height status bar, so instead of line
let DefaultStatusBarHeight : CGFloat = 20
should belet DefaultStatusBarHeight : CGFloat = UIApplication.shared.statusBarFrame.size.height
in UIKitExtensions.swift file