New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[TIMOB-15284] Fix Set Status Bar Style #4709
Conversation
No API existed to dynamically change the status bar style on iOS.
@dawsontoth Thanks for providing this. It seems different enough as new functionality that I'd like to call it out specially. Would you mind creating a ticket and a test case and attaching this PR to that, please? |
default: | ||
barStyle = UIStatusBarStyleDefault; | ||
} | ||
[[TiApp controller] updateStatusBar]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if(focussed) {
TiThreadPerformOnMainThread(^{
[[[TiApp app] controller] updateStatusBar];
}, YES);
}
Code Reviewed. Please address comments |
@vishalduggal done. |
CR and Fr ok. APPROVED |
[TIMOB-15284] Fix Set Status Bar Style
This does not work for a Window within a NavigationWindow on 3.2.0GA. The Navigation window will change, but the Window within will not change unless a modal window is displayed then closed. (there may be other events that force a UI update as well, but this is the only I've found.) |
No API existed to dynamically change the status bar style on iOS.
https://jira.appcelerator.org/browse/TIMOB-15284