Skip to content
This repository has been archived by the owner on Dec 4, 2018. It is now read-only.

Cannot work on iPhone X. #189

Open
bernikowich-cedoni opened this issue Sep 20, 2017 · 5 comments
Open

Cannot work on iPhone X. #189

bernikowich-cedoni opened this issue Sep 20, 2017 · 5 comments

Comments

@bernikowich-cedoni
Copy link

Related to:

    /* The standard status bar is 20 pixels. The navigation bar extends 20 pixels up so it is overlapped by the status bar.
     * When there is a larger than 20 pixel status bar (e.g. a phone call is in progress or GPS is active), the center needs
     * to shift up 20 pixels to avoid this 'dead space' being visible above the usual nav bar.
     */
    if (statusBarHeight > 20)
    {
        statusBarHeight -= 20;
    }
@StainlessStlRat
Copy link

This seems pretty urgent

@winzig
Copy link

winzig commented Sep 28, 2017

There are quite a few forks of this that seem to have corrected for this, like this one: https://github.com/receipt-bank/TLYShyNavBar/blob/f4004c7b1ce0989b4ab60dfc465554fb94f2883c/TLYShyNavBar/ShyControllers/TLYShyStatusBarController.m

@stevekim0417
Copy link

@winzig Thank you.

@joshbernfeld
Copy link

Thank you

@ksti
Copy link

ksti commented Oct 11, 2018

@winzig Nice job! Thank you.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants