[AC-1509] UIStatusBarStyleLightContent not working for Window title
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | n/a |
| Status | Resolved |
| Resolution | Cannot Reproduce |
| Resolution Date | 2015-08-28T03:19:51.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | Titanium SDK & CLI |
| Labels | ios, regression |
| Reporter | Marten Nelson |
| Assignee | Mostafizur Rahman |
| Created | 2015-03-27T06:25:06.000+0000 |
| Updated | 2016-03-08T07:37:57.000+0000 |
Description
Prior to SDK 3.5.0, in tiapp.xml I used the below to set statusBar elements including Window title to white.
{noformat}
UIStatusBarStyle
UIStatusBarStyleLightContent
UIViewControllerBasedStatusBarAppearance
{noformat}
As of SDK 3.5.0, with the same configuration, the Window title stays black.
This looks really awful and with a dark colored navbar the window title isn't readable.
I used the Titanium Classic Default Project to reproduce.
Issue was introduced in https://github.com/appcelerator/titanium_mobile/commit/64908b55ad5e3f139da56dae6a6cda644e688325. It worked fine with build 3.4.2.v20141024091816 but broke in 3.4.2.v20141024111713.
Hello, I tested the issue you reported with the default classic project. And I didn't reproduce this issue as a bug. We see that default statusBar color is white as we expect. And default plist use this code
So I recommend you upgrade studio and SDK to the latest build and let us know if you get the same behavior again. *Testing Environment:* Command-Line Interface, version 4.1.2, Ti SDK: 4.1.0.GA, iOS Simulator: 5,6(v8.4) iOS Device: iPod mini(v8.4), iPad(v8.1) Studio Version: 4.1.1 Thanks<key>UIStatusBarStyle</key> <string>UIStatusBarStyleDefault</string>