Skip to content
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

Merged
merged 2 commits into from Oct 8, 2013
Merged

[TIMOB-15284] Fix Set Status Bar Style #4709

merged 2 commits into from Oct 8, 2013

Conversation

dawsontoth
Copy link
Contributor

No API existed to dynamically change the status bar style on iOS.

https://jira.appcelerator.org/browse/TIMOB-15284

No API existed to dynamically change the status bar style on iOS.
@ingo
Copy link
Contributor

ingo commented Sep 19, 2013

@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?

@dawsontoth
Copy link
Contributor Author

default:
barStyle = UIStatusBarStyleDefault;
}
[[TiApp controller] updateStatusBar];
Copy link
Contributor

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);
}

@vishalduggal
Copy link
Contributor

Code Reviewed. Please address comments

@dawsontoth
Copy link
Contributor Author

@vishalduggal done.

@vishalduggal
Copy link
Contributor

CR and Fr ok. APPROVED

vishalduggal added a commit that referenced this pull request Oct 8, 2013
[TIMOB-15284] Fix Set Status Bar Style
@vishalduggal vishalduggal merged commit a456eef into tidev:master Oct 8, 2013
@dawsontoth dawsontoth deleted the ios7setStatusBar branch October 9, 2013 15:24
@allenhartwig
Copy link

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.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants