[TIMOB-1792] @2x assets not loaded when using full path - iphone 4 sdk 1.4
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Trivial |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:57:11.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.6.0 M07 |
Components | iOS |
Labels | defect, hires, images, ios, iphone, release-1.6.0 |
Reporter | ctredway |
Assignee | Blain Hamon |
Created | 2011-04-15T03:02:31.000+0000 |
Updated | 2011-04-17T01:57:11.000+0000 |
Description
The code below shows the behavior
var win = Titanium.UI.createWindow();
win.backgroundColor = 'white';
// this one will load @2x version var img =
Ti.UI.createImageView({top: 10, image: 'image.png', width:300,
height: 300});
win.add(img)
// this one will not var img2 = Ti.UI.createImageView({bottom:
10, image: Titanium.Filesystem.resourcesDirectory+ '/image.png',
width:300, height:300});
win.add(img2)
win.open();
Do-si-do with your partner, swap bugs for best results.
Hunh. Couldn't recreate the bug. Since it's been a while since this bug was filed, it's likely it was fixed as a side effect of another bug.
Created a test in Integrity. Resolving Defect.