Uploaded image for project: 'Appcelerator - INBOX'
  1. Appcelerator - INBOX
  2. AC-1355

3.5.0.GA No longer uses Retina images with image from string

    Details

      Description

      The only way to load Retina images with a string on 3.5.0 is with something like:

      if (density === 'high') {
          image = image.replace('.jpg', '@2x.jpg');
          image = image.replace('.png', '@2x.png');
      }
      imageView = Ti.UI.createImageView({
          top : 1,
          left : 1,
          backgroundImage : Ti.Filesystem.applicationDataDirectory + image
      });
      

      With 3.4.1 it works without inserting @2x in to the string.

        Attachments

          Activity

            People

            • Assignee:
              mpmiranda Mauro Parra-Miranda
              Reporter:
              swords Hilko Lantinga
            • Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Git Integration