{ "id": "87309", "key": "TIMOB-7873", "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": [], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2017-06-07T20:44:07.000+0000", "created": "2012-03-02T17:14:49.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [ { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" } ], "issuelinks": [], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-06-07T20:44:07.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": "In iOS, setting the {{anchorPoint}} property of a view's layer influences how it is laid out with respect to the geometry of the containing view. It does not affect \"just transforms\" on the object (in actuality, it's affecting the identity transform), but also the ability to pin l/r/t/b on views.\r\n\r\nFrom Blain in IRC as an example:\r\nbq. Position should be clarified. On iOS, position is defined by the anchorpoint, which defaults to 0.5, 0.5. That is, for an object whose top is 50, left is 50, bottom is 100, and right is 100, x=75, y=75. If the anchorpoint was changed to 0,0, the same object with given top/left/bottom/right bounds's x and y would be 50. If the anchorpoint is 1,1, the same object's x and y would be 100. \r\n\r\nSee: https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/CoreAnimation_guide/Articles/Layers.html#//apple_ref/doc/uid/TP40006082-SW9", "attachment": [], "flagged": false, "summary": "iOS: Anchor point affects pinning", "creator": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "421223", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket due to time passed and lack of progress in the past 5 years.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-06-07T20:44:07.000+0000", "updated": "2017-06-07T20:44:07.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }