Closed hlung closed 10 years ago
A whole slew of issues arise when a status bar is hidden and there are orientation changes.
We rely heavily on status bar orientation notifications, etc.
Will have to rethink this one...
Hey @DanielKrofchick, any idea on how we can go about fixing this? Only thing I can think of is hardcoding the status bar sizes when isStatusBarHidden == YES for -(CGRect)statusBarFrame.
Yeah, that's what I worry about too.
On 2014/04/07, at 1:20, terryworona notifications@github.com wrote:
A whole slew of issues arise when a status bar is hidden and there are orientation changes.
We rely heavily on status bar orientation notifications, etc.
Will have to rethink this one...
\ Reply to this email directly or view it on GitHub.
Hi @terryworona. It seems it's best then not to trigger off of the statusBar. Fortunately there's a UIDevice orientation notification. I've put together a fix. I'll send over a pull request.
Fixed in PR #36 commit: 041fd5d9eb9975a3120b8e50c3c33dabbadd53eb
Tag: v1.4.2
From https://github.com/terryworona/TWMessageBarManager/blob/master/Classes/TWMessageBarManager.m#L587-L590
If app has no status bar,
-statusBarFrame
will returnCGRectZero
, making-width
returns 0, which makes message bar not appear at all.Suggested fix...