{ "id": "99240", "key": "TIMOB-10781", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": [], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2016-08-28T22:57:47.000+0000", "created": "2012-08-14T22:28:33.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "api" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-22T22:17:57.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": "On the Interface Builder, Apple allows to customize the \"On Tint\" of the UISwitch element, defining the internal button background color for the ON state.\r\n\r\nWe should map this in titanium, allowing to do something like:\r\n\r\n{code}\r\nTi.UI.createSwitch({\r\n value: true,\r\n ontint: \"green\" // or any kind of color specification support by Ti on other elements.\r\n});\r\n{code}\r\n\r\n\r\nThis way we can allow users to have buttons with active background colors different from the stock blue option.\r\n\r\n", "attachment": [], "flagged": false, "summary": "iOS: Allow the customization of the \"On Tint\" parameter for iOS Switch (Ti.UI.Switch).", "creator": { "name": "ygbr", "key": "ygbr", "displayName": "Ygor Lemos", "active": true, "timeZone": "America/Sao_Paulo" }, "subtasks": [], "reporter": { "name": "ygbr", "key": "ygbr", "displayName": "Ygor Lemos", "active": true, "timeZone": "America/Sao_Paulo" }, "environment": "iOS", "comment": { "comments": [ { "id": "394585", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Duplicate of TIMOB-15436.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-08-28T22:57:48.000+0000", "updated": "2016-08-28T22:57:48.000+0000" }, { "id": "415107", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate and links to the related ticket have been provided above.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-22T22:17:57.000+0000", "updated": "2017-03-22T22:17:57.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }