Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-14287] iOS 7: BarColor is now barTintColor and tintColor is now used for coloring Window Theme

GitHub Issuen/a
TypeNew Feature
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-08-23T22:45:22.000+0000
Affected Version/sn/a
Fix Version/s2013 Sprint 17, 2013 Sprint 17 API, Release 3.2.0
ComponentsiOS
Labelsbarcolor, ios7, module_window, qe-testadded
ReporterJoseph Sachs
AssigneeIngo Muschenetz
Created2013-06-19T16:35:36.000+0000
Updated2015-06-12T15:55:13.000+0000

Description

BarColor is now barTintColor and tintColor is now used for coloring the Labels (icons right/leftNav button tints) everywhere on the Window, it's a new iOS7 design pattern where also the Tabs (if exists) also use the focused windows' tintColor.

Attachments

FileDateSize
ScreenShot2013-06-13at122733PM.png2013-06-19T16:35:36.000+000056108

Comments

  1. Marcus Olovsson 2013-06-21

    From what I've seen it looks like the tintColor-property also applies to subviews like buttons. Would be great if we could change the tintColor on any view, so we can use white for example in the NavBar and another color for buttons. It also seems like you can change barstyle, and I think it's important to get this implemented as well. The default is "Transculent Navigation Bar", and if you change barTintColor the color will become a bit lighter because of the transparency. Setting it to "Opaque Navigation Bar" will make a solid color. There's also a black version of these, which makes the title color white. It also looks like you can have separate settings for the Tab Bar.
  2. Hans Knöchel 2013-07-30

    How is the implementation going? Seems to be a very important issue that can be easily fixed by adding to properties "barTintColor" and "tintColor".
  3. Hans Knöchel 2013-08-10

    Still open, here another documentation from apple: https://developer.apple.com/library/prerelease/ios/documentation/UserExperience/Conceptual/UIKitUICatalog/UINavigationBar.html#//apple_ref/doc/uid/TP40012857-UINavigationBar-SW1
  4. Vishal Duggal 2013-08-23

    Fixed by the window rearchitecture PR barColor property now calls the right API depending on OS Version New property on Ti.UI.Window navTintColor to ting the navBar
  5. Wilson Luu 2013-10-31

    [~vduggal], is there test code or documentation that we can use to validate this feature? Thanks!
  6. Wilson Luu 2013-11-26

    Closing ticket as fixed. Verified barColor colors the window's bar and navTintColor colors the nav button. Tested on: Titanium Studio, build: 3.2.0.201311221859 SDK build: 3.2.0.v20131122172908 CLI: 3.2.0-alpha Alloy: 1.3.0-alpha6 Xcode: 5.0.2 Device: iphone 5 (6.1.3), iphone 5 (7.0.2)

JSON Source