Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-1792

@2x assets not loaded when using full path - iphone 4 sdk 1.4

    Details

      Description

      {html}<div><p>The code below shows the behavior</p>
      <p>var win = Titanium.UI.createWindow();<br>
      win.backgroundColor = 'white';<br></p>
      <p>// this one will load @2x version var img =
      Ti.UI.createImageView({top: 10, image: 'image.png', width:300, height: 300});<br>
      win.add(img)<br></p>
      <p>// this one will not var img2 = Ti.UI.createImageView({bottom: 10, image: Titanium.Filesystem.resourcesDirectory+ '/image.png', width:300, height:300});<br>
      win.add(img2)<br></p>
      <p>win.open();</p></div>{html}

        Attachments

          Activity

            People

            • Assignee:
              blainhamon Blain Hamon
              Reporter:
              ctredway1 ctredway
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-1602
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Integration