Titanium JIRA Archive
Appcelerator Community (AC)

[AC-1509] UIStatusBarStyleLightContent not working for Window title

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionCannot Reproduce
Resolution Date2015-08-28T03:19:51.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsios, regression
ReporterMarten Nelson
AssigneeMostafizur Rahman
Created2015-03-27T06:25:06.000+0000
Updated2016-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.

Comments

  1. Marten Nelson 2015-03-28

    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.
  2. Motiur Rahman 2015-08-27

    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
       <key>UIStatusBarStyle</key>
                       <string>UIStatusBarStyleDefault</string>
       
    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

JSON Source