{ "id": "161387", "key": "TIMOB-23565", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "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": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-06-28T05:32:38.000+0000", "created": "2016-06-27T21:06:28.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "imageview", "ios", "parity", "qe-5.4.0" ], "versions": [], "issuelinks": [ { "id": "52087", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "outwardIssue": { "id": "152805", "key": "TIMOB-19912", "fields": { "summary": "tintColor for Android ImageView", "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": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2016-06-28T20:33:43.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": "Adding tintColor property to iOS using {{UIImageRenderingModeAlwaysTemplate}}\r\n\r\nh2. Demo\r\n{code:javascript}\r\n\r\n/**\r\n * TIMOB-23565\r\n *\r\n * Sets the initial tintColor to red, changes it to green after 2 seconds\r\n * and removes the tintColor after another 2 seconds.\r\n **/\r\n\r\nvar win = Ti.UI.createWindow();\r\nvar img = Ti.UI.createImageView({\r\n tintColor: \"red\",\r\n image: \"images/appcelerator_small.png\"\r\n});\r\n\r\nwin.add(img);\r\n\r\nsetTimeout(function() {\r\n img.setTintColor(\"green\");\r\n \r\n setTimeout(function() {\r\n img.setTintColor(null);\r\n },2000);\r\n \r\n},2000);\r\n\r\nwin.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: TintColor for ImageView (Parity)", "creator": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "environment": "iOS", "closedSprints": [ { "id": 529, "state": "closed", "name": "2015 Sprint 24 SDK", "startDate": "2015-11-21T01:30:12.670Z", "endDate": "2015-12-05T01:30:00.000Z", "completeDate": "2015-12-07T03:57:17.094Z", "originBoardId": 114 }, { "id": 614, "state": "closed", "name": "2016 Sprint 07 SDK", "startDate": "2016-03-26T00:38:56.432Z", "endDate": "2016-04-09T00:38:00.000Z", "completeDate": "2016-04-11T04:41:08.231Z", "originBoardId": 114 }, { "id": 649, "state": "closed", "name": "2016 Sprint 13 SDK", "startDate": "2016-06-18T00:25:17.303Z", "endDate": "2016-07-02T00:25:00.000Z", "completeDate": "2016-07-04T04:25:16.889Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "389171", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Adding parity for TIMOB-19912 using best-practices ({{UIImageRenderingModeAlwaysTemplate}})", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-06-27T21:09:25.000+0000", "updated": "2016-06-27T21:09:25.000+0000" }, { "id": "389199", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/8090", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-06-28T01:24:30.000+0000", "updated": "2016-06-28T01:24:30.000+0000" }, { "id": "389212", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR (5_4_X): https://github.com/appcelerator/titanium_mobile/pull/8092", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-06-28T02:34:46.000+0000", "updated": "2016-06-28T02:34:46.000+0000" }, { "id": "389226", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "CR and FT passed. PRs merged.", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-06-28T05:32:22.000+0000", "updated": "2016-06-28T05:32:22.000+0000" }, { "id": "389297", "author": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "body": "Verified as fixed, {{tintColor}} is now supported for ImageView element on iOS.\r\n\r\nTested On:\r\niPhone 6S (9.3.2) Device & Sim\r\nMac OSX El Capitan 10.11.5 \r\nTi SDK: 5.4.0.v20160627224205\r\nAppc Studio: 4.7.0.201606220541\r\nAppc NPM: 4.2.7-2\r\nApp CLI: 5.4.0-20\t\r\nXcode 7.3\r\nNode v4.2.6\r\n\r\n*Closing ticket.*\r\n", "updateAuthor": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "created": "2016-06-28T20:33:28.000+0000", "updated": "2016-06-28T20:33:28.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }