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

iOS: Local image is not loading to the webveiw.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: None
    • Resolution: Duplicate
    • Affects Version/s: Release 7.0.1
    • Fix Version/s: None
    • Component/s: iOS
    • Labels:
    • Environment:
    • Story Points:
      0
    • Sprint:
      2018 Sprint 02 SDK

      Description

      Issue: Image path is not getting in webview. I would like to set a background image to the webView but it does not work. The image is located in the assets folder. But it works as expected on Android.

      Steps to Reproduce:

      1. Create a new Alloy project
      2. Place an image to the assets>>images folder
      3. Run the following test code to the iOS device

      index.xml

      <Alloy>
      	<Window id="win">
      		<WebView id="webview" backgroundImage="/images/test.jpg"></WebView>
      	</Window>
      </Alloy>
      

      index.js

      $.win.open();
      
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                morahman Motiur Rahman
              • Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code