asafkorem / COSTouchVisualizer

Visualize touches, gestures and long presses on your iPhone or iPad
https://www.conopsys.com/COSTouchVisualizer/
MIT License
960 stars 70 forks source link

Fixed status bar style hidden by overlay window #16

Closed rodrigoelp closed 9 years ago

rodrigoelp commented 9 years ago

Introduced a view controller for the overlay window to preserve the preferred status bar style for the main window. This prevents losing the status bar style when the new window is created and its own status bar hides the main window.

One way to reproduce this issue is by adding a navigation bar and changing its style to be dark (with white fonts) and then tap anywhere.

Originally the status bar was going to change its appearance to the default style. Currently is going to be set based on the keyWIndow rootViewController preferredStatusBarStyle property.