Titanium JIRA Archive
Appcelerator Community (AC)

[AC-781] navTintColor doesn't work in 3.5.0GA

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionInvalid
Resolution Date2015-02-16T00:50:20.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAlloy
Labels3.5.0GA, ios, navTintColor
ReporterMarc Galapos
AssigneeShuo Liang
Created2015-02-11T14:18:06.000+0000
Updated2016-03-08T07:37:03.000+0000

Description

navTintColor doesn't work in 3.5.0GA. It's ignored, and stays black on the iPhone and simulator. Same code works in 3.4.x.

Comments

  1. Shuo Liang 2015-02-12

    Hi, Please provide the simple test case to reproduce your problem. That will be really helpful to address your issue. Thanks Regards, Shuo
  2. Beau Gibson 2015-02-12

    navTintColor only recolours buttons. Use titleAttributes to change text color See http://developer.appcelerator.com/question/156059/ios7-change-color-of-backbutton-and-window-title#answer-281727
  3. Shuo Liang 2015-02-12

    HI, What you mean navTintColor doesn't work. tried your test code, and it works well. Please see the following code.
       var button = Ti.UI.createButton({
       	title: "button"
       });
       
       var win = Ti.UI.createWindow({
       	backgroundColor: 'white',
           barColor : "#000000",
           title : "This is a title",
           navTintColor : "#FFFFFF",
           leftNavButton: button,
           titleAttributes : {
               color : "#FFFFFF",
           },
       });
       
       var win1 = Titanium.UI.iOS.createNavigationWindow({
          window: win
       });
       
       win1.open();
       
  4. Beau Gibson 2015-02-12

    Yes navTintColor works for colour system controls eg(back button) whereas title attributes will colour the window title

JSON Source