[TIMOB-1951] iOS: UIImageView images array, lacks @2x support.
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Low |
| Status | Closed |
| Resolution | Invalid |
| Resolution Date | 2017-06-09T17:12:55.000+0000 |
| Affected Version/s | Release 1.5.0, Release 3.0.0 |
| Fix Version/s | n/a |
| Components | iOS |
| Labels | api |
| Reporter | Jeroen K. |
| Assignee | Ingo Muschenetz |
| Created | 2011-04-15T03:06:22.000+0000 |
| Updated | 2017-06-09T17:12:55.000+0000 |
Description
loading an array of images for an image animation with
UIImageView like this:
var images = [];
images.push('images/img1.png');
images.push('images/img2.png');
var animation = Titanium.UI.createImageView({
images:images,
duration:100,
repeatCount:0
});
Ignores the @2x versions of each image this way, running it without
an extension (iOS 4 specific) doesnt show the images at all.
Confirmed valid against SDK 2.2.0.014b86f. Complete test code, using @2x images available from Kitchen Sink:
var win = Ti.UI.createWindow(); var images = []; images.push('images/dog.jpg'); images.push('images/fence.jpg'); var animation = Titanium.UI.createImageView({ images:images, duration:100, repeatCount:10 }); win.add(animation); win.open();Closing ticket due to time passed, any problems please open a new ticket.