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

Alloy - not able to retrieve assets from iPhone folder

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: None
    • Component/s: Alloy
    • Labels:
    • Environment:

      Alloy, SDK 3.2.3

      Description

      I am trying to access my assets from the app>assets>iphone>images directory.

      This is how I am trying to get the asset in code

      $.imageW.image = "/iphone/images/WalkthroughIllustration_01.png";

      Doesn't work

      I have create the image view in the related XML file

      <ImageView id='imageW'/>

      The only way I can get the image to display is if I move the asset outside of the iPhone directory, like this:

      $.imageW.image = "/images/WalkthroughIllustration_01.png";

      BUT, I have read that by doing it that way, I will be unable to display retina images.

        Attachments

          Activity

            People

            • Assignee:
              sliang Shuo Liang
              Reporter:
              maveick2k Samie Syed
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Git Integration