Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-260] iPhone: Add Platform.displayCaps

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:52:31.000+0000
Affected Version/sn/a
Fix Version/sRelease 0.8.0
ComponentsiOS
Labelsfeature, ios, iphone
ReporterDon Thorp
AssigneeJeff Haynie
Created2011-04-15T02:26:18.000+0000
Updated2011-04-17T01:52:31.000+0000

Description

Add Titanium.Platform.displayCaps to return information about the device's display.

{

width: 240 /* width in pixels */,
height: 320 /* height in pixels */,
density: 'low' /* one of low, medium, high */,
dpi : 160 /* pixels per inch*/

}

Comments

  1. Jeff Haynie 2011-04-15

    (from [d0fb7efefa317e7ee8fc52f2f1e79089b77ef252]) [#260 state:resolved] added Titanium.Platform.displayCaps property http://github.com/appcelerator/titanium_mobile/commit/d0fb7efefa317e7ee8fc52f2f1e79089b77ef252"> http://github.com/appcelerator/titanium_mobile/commit/d0fb7efefa317...

  2. Jeff Haynie 2011-04-15

    (from [a3062c008ce8a2331e05eddb86cf53cb77725b10]) [#260 state:resolved] added Titanium.Platform.displayCaps property http://github.com/appcelerator/titanium_mobile/commit/a3062c008ce8a2331e05eddb86cf53cb77725b10"> http://github.com/appcelerator/titanium_mobile/commit/a3062c008ce8a...

JSON Source