brunow / BWStatusBarOverlay

BWStatusBarOverlay is a custom status bar overlay window.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issue in Landscape

mdestagnol opened this issue · comments

Steps to reproduce :

Go in landscape mode then execute the following code :

BWStatusBarOverlay *overlay = [[BWStatusBarOverlay alloc] init];
[overlay showSuccessWithMessage:@"Hello world" duration:2 animated:YES];

Note that this issue doesn't happend when you use the shared object. (I suspect it's because the shared object listens to the rotation events).

By the way thanks for this work, it's really cool! :-)

Yes that's right the shared object listen to the rotation events. But why don't you use the shared object ?

The shared object doesn't behave correctly when triggered quickly multiple times.

But even the sharedObject shouldn't work if instantiated after rotating the device.

I'll take a look thank you.

I think it's fixed now

Great thx! I'll take a look this week.

Hello Bruno, just checked it and though the status displays almost correctly, the animation looks faster in landscape mode. I think it's because the start point is way above the top of the screen. Any idea?