telly / TLYShyNavBar

Unlike all those arrogant UINavigationBar, this one is shy and humble! Easily create auto-scrolling navigation bars!
MIT License
3.73k stars 427 forks source link

Cannot work on iPhone X. #189

Open bernikowich-cedoni opened 7 years ago

bernikowich-cedoni commented 7 years ago

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 commented 7 years ago

This seems pretty urgent

winzig commented 7 years ago

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 commented 7 years ago

@winzig Thank you.

joshbernfeld commented 7 years ago

Thank you

ksti commented 6 years ago

@winzig Nice job! Thank you.