{ "id": "114947", "key": "TIMOB-13990", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "17706", "name": "Release 5.4.0", "archived": false, "released": true, "releaseDate": "2016-08-11" } ], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2016-01-26T19:02:42.000+0000", "created": "2013-05-25T00:03:50.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "SupportTeam", "qe-5.4.0" ], "versions": [ { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "15478", "description": "Release 3.1.1", "name": "Release 3.1.1", "archived": true, "released": true, "releaseDate": "2013-06-17" } ], "issuelinks": [ { "id": "37628", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "114935", "key": "TIMOB-13986", "fields": { "summary": "iOS: backgroundImage of view from remote URL not loading", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2016-06-09T17:50:23.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "h4. Problem Description\r\nWhen you try to use remote images in the backgroundImages in the Views, it never shows. \r\n\r\nh4. Steps to reproduce\r\n1. Create a new mobile project.\r\n2. Paste this as app.js:\r\n{code}\r\nvar win = Ti.UI.createWindow();\r\n \r\nvar view1 = Ti.UI.createView({\r\n backgroundImage: 'http://dl.dropboxusercontent.com/u/72783403/AtoZ/1.png'\r\n });\r\nvar view2 = Ti.UI.createView({\r\n backgroundImage : 'http://dl.dropboxusercontent.com/u/72783403/AtoZ/2.png'\r\n });\r\n \r\nvar scrollableView = Ti.UI.createScrollableView({\r\n views:[view1,view2],\r\n showPagingControl:true\r\n});\r\n \r\nwin.add(scrollableView);\r\nwin.open();\r\n{code}\r\n3. Compile and run.\r\n4. You will see a black screen. \r\n\r\nh4. Extra info \r\nIf you try the same with ImageViews instead of Views, will work. \r\n\r\n", "attachment": [], "flagged": false, "summary": "iOS: Remote url in backgroundImage @ View is never showing ", "creator": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "subtasks": [], "reporter": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "environment": null, "comment": { "comments": [ { "id": "375309", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-01-26T19:02:42.000+0000", "updated": "2016-01-26T19:02:42.000+0000" }, { "id": "387962", "author": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "updateAuthor": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "created": "2016-06-09T17:50:03.000+0000", "updated": "2016-06-09T17:50:03.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }