[TIMOB-8068] iOS: Ti.Platform.displayCaps.density - Checking density on iPad 3 (new iPad) returns "medium"
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-04-04T13:41:49.000+0000 |
Affected Version/s | Release 2.0.0 |
Fix Version/s | Release 2.0.0, Sprint 2012-06 |
Components | iOS |
Labels | module_platform, qe-ipad3, qe-testadded |
Reporter | Natalie Huynh |
Assignee | Vishal Duggal |
Created | 2012-03-16T16:02:12.000+0000 |
Updated | 2012-04-04T13:41:49.000+0000 |
Description
Steps To Reproduce:
1. Run the following code
var win1 = Titanium.UI.createWindow({
title:'Test'
});
win1.open();
alert("Density ="+ Ti.Platform.displayCaps.density);
Actual:
Returns Medium
Expected:
Returns High
Testing needs to be done with Xcode 4.3.1. Earlier versions of Xcode do not have the correct tools to detect the iPad 3 retina display.
Resolved by PR 1728
Verified fixed with SDK 2.0.0.v20120320154815 and Titanium Studio, build: 2.0.0.201203202130. Checked iPad 2 and iPad 3. iPad 2 returns "medium" iPad 3 returns "high".
Reopening/closing to add/remove labels