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

iOS: Relative images paths are not relative to Resources dir, not current JS file

    Details

    • Type: Bug
    • Status: Open
    • Priority: High
    • Resolution: Unresolved
    • Affects Version/s: Release 6.1.0
    • Fix Version/s: None
    • Component/s: iOS
    • Labels:
      None

      Description

      TIMOB-7004 states there there is a bug in Android where relative images are not loading correctly, however it's the opposite. The images are loading in iOS when they should not be.

      In TIMOB-7004 test case, app.js will require('ui/homeView.js') which creates an ImageView with a relative path. On Android, an image path of commonimages/home-home.png will try to load ui/commonimages/home-home.png. On iOS, it appears to treat relative image paths as absolute paths, which is not correct.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                cbarber Chris Barber
              • Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Backbone Issue Sync

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

                    Git Source Code