[TIMOB-14894] iOS7: Bar Background Color Does Not Apply
GitHub Issue | n/a |
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2013-08-27T05:12:01.000+0000 |
Affected Version/s | Release 3.1.2 |
Fix Version/s | 2013 Sprint 18, 2013 Sprint 18 API |
Components | iOS |
Labels | ios7, ipass1 |
Reporter | Rick Blalock |
Assignee | Vishal Duggal |
Created | 2013-08-16T13:34:15.000+0000 |
Updated | 2017-03-28T20:26:35.000+0000 |
Description
Window with a barColor does not apply that color:
"#window": {
title: "Comments",
modal: true,
barColor: "#111",
backgroundColor: "#eee"
},
Attachments
The strange thing is this actually worked with beta 2 and higher on Ti SDK 3.1.1, but stopped working with 3.1.2. A wild guess: beta 1 relied on tintColor, even for older apps, hence it didn't work then. Beta 2 changed that so old apps could rely on barColor again, but Ti SDK 3.1.2 started using tintColor on iOS 7, but when building apps with iOS SDK 6 it should still use barColor.
Test Code used
See screenshots above. Bar color does apply. The difference in color is due to the "translucent" property of window (true on IOS7+ and false on older versions). Setting translucent to false gets you the same color on IOS7 as on IOS6. Going to mark this as invalid.
Closing