terryworona / TWMessageBarManager

An iOS manager for presenting system-wide notifications via a dropdown message bar.
MIT License
1.77k stars 191 forks source link

Added support for hidden statusBar. Using UIDevice instead of statusBar ... #36

Closed DanielKrofchick closed 10 years ago

DanielKrofchick commented 10 years ago

...to calculate geometry and trigger notifications.

Switched to UIDevice notification. Still calling it the statusBarFrame, although we're getting the width from the keyWindow.

Two options have been added to the plist file for testing without the statusBar. To turn off the statusBar set: 'View controller-based status bar appearance' = NO 'Status bar is initially hidden' = YES

terryworona commented 10 years ago

Thanks @DanielKrofchick, fix looks great!