[TIMOB-10519] iOS: Titanium.UI.iOS: Background color set to COLOR_GROUP_TABLEVIEW_BACKGROUND does not work on iPad
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Open |
Resolution | Unresolved |
Affected Version/s | Release 2.1.2 |
Fix Version/s | n/a |
Components | iOS |
Labels | api, qe-ios082012, reprod |
Reporter | Satyam Sekhri |
Assignee | Unknown |
Created | 2012-08-21T06:01:21.000+0000 |
Updated | 2018-02-28T20:03:25.000+0000 |
Description
A window set with iOS specific background color COLOR_GROUP_TABLEVIEW_BACKGROUND does not show up properly on iPAD.
This is not a regression. The issue occurs since 2.1.0
Steps to Reproduce:
1. Create an application with code below and launch the test on iPad
Actual: The window opens up with black background. Refer to attached screenshot for incorrect background on iPad and correct background on iPhone
Expected: on iPad, the window should open up with a striped background for COLOR_GROUP_TABLEVIEW_BACKGROUND, as it does on iPhone
var win = Ti.UI.createWindow();
win.title='Mr. Stripey';
win.backgroundColor= Ti.UI.iOS.COLOR_GROUP_TABLEVIEW_BACKGROUND;
var label = Ti.UI.createLabel({
text: 'This is test for Striped color',
color:'white'
});
win.add(label);
win.open();
Attachments
File | Date | Size |
---|---|---|
iPAD_StripedColor.png | 2012-08-21T06:01:21.000+0000 | 15643 |
iPhone_StripedColor.png | 2012-08-21T06:01:21.000+0000 | 11138 |
I am able to reproduce this issue with the following environment; iPad (10) and iPhone 7 (10.2) - it appears on both iPad and iPhone with black background. Studio 4.9.0.201705302345 Ti SDK 6.1.1.v20170620103414 Appc NPM 4.2.9 Appc CLI 6.2.1 Ti CLI 5.0.13 Alloy 1.9.11 Arrow 2.0.0 Xcode 8.2 (8C38) Node v4.8.2 Java 1.8.0_131