{ "id": "62634", "key": "TIMOB-2002", "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": "11225", "name": "Release 1.5.0", "archived": true, "released": true, "releaseDate": "2010-12-14" } ], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2011-04-15T03:07:51.000+0000", "created": "2011-04-15T03:07:49.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "1.4.2", "4.1", "buttons", "d1", "defect", "ios", "ipad", "nav", "rplist" ], "versions": [], "issuelinks": [], "assignee": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-02T21:03:49.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": "{html}

Using iOS 4.1 and 1.4.2.d4ce7ff when using a system button style\ndoes not work if the buttons are put in a view and that view is set\nas the right/left nav button.

\n

See attached code

{html}", "attachment": [ { "id": "18081", "filename": "blank.js", "author": { "name": "ctredway1", "key": "ctredway1", "displayName": "ctredway", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:07:50.000+0000", "size": 473, "mimeType": "application/x-javascript" } ], "flagged": false, "summary": "Systems buttons cannot be used in a view set to right/left nav button", "creator": { "name": "ctredway1", "key": "ctredway1", "displayName": "ctredway", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ctredway1", "key": "ctredway1", "displayName": "ctredway", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "127236", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

System Buttons are only available in toolbars and nav bar\nleft/right buttons (Not even title view) due to how the iOS does\nsystem buttons. Essentially, system buttons with the icons are not\nactual views, and as such, can not exist in any view beyond those\nlocations. Long explanation below.

\n

Natively, the class that represents an entry into a toolbar or\nnav bar corners is called UIBarButtonItem. Its inheritance tree is\nUIBarButtonItem->UIBarItem->NSObject, not UIView. When we put\na view into a toolbar, we're actually adding UIBarButtonItem which\nwas initialized with initWithCustomView:, passing in the UIView the\nproxy represents. When we put a system button into a toolbar, we're\nadding a UIBarButtonItem which was initialized with\ninitWithBarButtonSystemItem:target:action: , passing in the\nsystemType integer, with no view representation.

\n

This, incidentally, is also why system buttons are so limited in\nproperties; The properties UIBarButtonItem provides for system\nbutton style buttons are enabled, image, title, width, and style\n(only 3 options). No height, no color, no transparency, tint, no\nbackground image.

{html}", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:07:51.000+0000", "updated": "2011-04-15T03:07:51.000+0000" }, { "id": "408504", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closed as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-02T21:03:49.000+0000", "updated": "2017-03-02T21:03:49.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }