[TIMOB-14945] iOS7: Wrong default Window NavBar barColor
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-08-27T05:24:14.000+0000 |
Affected Version/s | Release 3.1.2 |
Fix Version/s | 2013 Sprint 18, 2013 Sprint 18 API, Release 3.1.3, Release 3.2.0 |
Components | iOS |
Labels | IOS7, Windows, navbar, qe-closed-3.1.3 |
Reporter | Thomas Neerup |
Assignee | Vishal Duggal |
Created | 2013-08-23T09:27:29.000+0000 |
Updated | 2013-08-28T21:05:25.000+0000 |
Description
Steps to Reproduce
The default NavBar barColor on IOS 7 is not the the same as on Toolbars.Actual Result
The NavBar is white.Expected Result
The NavBar should be light gray.Attachments
File | Date | Size |
---|---|---|
fixed.png | 2013-08-28T21:05:04.000+0000 | 52106 |
Screen Shot 2013-08-23 at 11.21.47.png | 2013-08-23T09:27:30.000+0000 | 54582 |
[~thomas.neerup@eg.dk] Can you please attach a test case?
Testcase
Fixed by the window rearchitecture The translucent property on Ti.UI.Window was false by default. Now it is true by default for IOS7+ to match native behavior. The toolbar has no such default property so follows native behavior. Hence the UI difference. This has been fixed in master and will soon be backported to 3_1_X for 3.1.3
Tested the above code and verified the fix (screenshot fixed.png) with: Mac osx 10.8.4 Mountain Lion Appcelerator Studio, build: 3.1.3.201308252005 Titanium SDK, build:3.1.3.v20130828104626 alloy:1.2.1 CLI:3.1.2 Xcode5-DP6 Devices: Ipad4 iOS 7 beta6(11A4449d) iPnone5 iOS 7 beta6