{ "id": "169648", "key": "TIMOB-25201", "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": "19957", "description": "", "name": "Release 7.1.0", "archived": false, "released": true, "releaseDate": "2018-03-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2018-02-21T20:12:13.000+0000", "created": "2017-08-28T08:09:17.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "imageView" ], "versions": [], "issuelinks": [ { "id": "56605", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "170152", "key": "TIMOB-25470", "fields": { "summary": "tintColor hex value only works without '#' on iOS simulator", "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": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2018-06-12T06:40:01.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": "if height and width are provided, tintColor doesn't work on iOS for imageView.\r\n\r\n*Alloy*\r\n{code:xml}\r\n\r\n\t\r\n\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\r\n\t\r\n\r\n{code}\r\n\r\n*Classic*\r\n{code}\r\nTi.UI.backgroundColor = 'orange';\r\nvar win = Ti.UI.createWindow();\r\n\r\nvar view = Ti.UI.createView({\r\n\tbackgroundColor: 'green',\r\n\theight: 100,\r\n\tlayout: 'vertical'\r\n});\r\n\r\nvar image = Ti.UI.createImageView({\r\n\timage:'/ic_tv_white_48.png',\r\n\ttintColor: 'red',\r\n\twidth: 40,\r\n\theight: 40\r\n});\r\n\r\nvar image2 = Ti.UI.createImageView({\r\n\timage:'/ic_tv_white_48.png',\r\n\ttintColor: 'red'\r\n});\r\n\r\nview.add(image);\r\nview.add(image2);\r\nwin.add(view);\r\nwin.open();\r\n\r\n{code}\r\n\r\nHowever, you can change the tintColor afterwards from js.", "attachment": [ { "id": "63139", "filename": "ic_tv_white_48_2x.png", "author": { "name": "isener", "key": "isener", "displayName": "ILAY SENER", "active": true, "timeZone": "Australia/Sydney" }, "created": "2017-08-28T08:07:53.000+0000", "size": 326, "mimeType": "image/png" }, { "id": "63138", "filename": "ic_tv_white_48_3x.png", "author": { "name": "isener", "key": "isener", "displayName": "ILAY SENER", "active": true, "timeZone": "Australia/Sydney" }, "created": "2017-08-28T08:07:53.000+0000", "size": 515, "mimeType": "image/png" }, { "id": "63137", "filename": "ic_tv_white_48.png", "author": { "name": "isener", "key": "isener", "displayName": "ILAY SENER", "active": true, "timeZone": "Australia/Sydney" }, "created": "2017-08-28T08:07:53.000+0000", "size": 192, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: tintColor doesn't work on imageView if dimensions (height, width) are provided", "creator": { "name": "isener", "key": "isener", "displayName": "ILAY SENER", "active": true, "timeZone": "Australia/Sydney" }, "subtasks": [], "reporter": { "name": "isener", "key": "isener", "displayName": "ILAY SENER", "active": true, "timeZone": "Australia/Sydney" }, "environment": "Mac OS X, Sierra\r\nAppc Studio : 4.9.0.201705302345\r\nSDK : 6.1.2\r\niOS (Emulator) : iPhone 7, iOS 10.3", "closedSprints": [ { "id": 1000, "state": "closed", "name": "2018 Sprint 04 SDK", "startDate": "2018-02-12T04:23:01.913Z", "endDate": "2018-02-26T04:23:00.000Z", "completeDate": "2018-02-26T19:36:01.769Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "433504", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR : https://github.com/appcelerator/titanium_mobile/pull/9762\r\n\r\nNote - Test case is mentioned in ticket.", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-01-23T10:31:02.000+0000", "updated": "2018-01-23T10:31:02.000+0000" }, { "id": "434502", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Master is merged waiting for 7.1.0 Back-port [~vijaysingh]", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-02-15T00:21:07.000+0000", "updated": "2018-02-15T00:21:07.000+0000" }, { "id": "434690", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR (7_1_X) : https://github.com/appcelerator/titanium_mobile/pull/9863", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-02-21T03:43:42.000+0000", "updated": "2018-02-21T03:43:42.000+0000" }, { "id": "435012", "author": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified changes are included in SDK builds: 7.1.0.v20180227113527 & 7.2.0.v20180228075644", "updateAuthor": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2018-02-28T17:14:00.000+0000", "updated": "2018-02-28T17:14:00.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }