Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-13990] iOS: Remote url in backgroundImage @ View is never showing

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionDuplicate
Resolution Date2016-01-26T19:02:42.000+0000
Affected Version/sRelease 3.1.0, Release 3.1.1
Fix Version/sRelease 5.4.0
ComponentsiOS
LabelsSupportTeam, qe-5.4.0
ReporterMauro Parra-Miranda
AssigneeHans Knöchel
Created2013-05-25T00:03:50.000+0000
Updated2016-06-09T17:50:23.000+0000

Description

Problem Description

When you try to use remote images in the backgroundImages in the Views, it never shows.

Steps to reproduce

1. Create a new mobile project. 2. Paste this as app.js:
var win = Ti.UI.createWindow();
 
var view1 = Ti.UI.createView({
        backgroundImage: 'http://dl.dropboxusercontent.com/u/72783403/AtoZ/1.png'
    });
var view2 = Ti.UI.createView({
        backgroundImage : 'http://dl.dropboxusercontent.com/u/72783403/AtoZ/2.png'
    });
 
var scrollableView = Ti.UI.createScrollableView({
  views:[view1,view2],
  showPagingControl:true
});
 
win.add(scrollableView);
win.open();
3. Compile and run. 4. You will see a black screen.

Extra info

If you try the same with ImageViews instead of Views, will work.

Comments

  1. Hans Knöchel 2016-01-26

  2. Harry Bryant 2016-06-09

JSON Source