{ "id": "89568", "key": "TIMOB-8555", "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": [ { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" }, { "id": "13277", "name": "Sprint 2012-08", "archived": true, "released": true, "releaseDate": "2012-04-22" } ], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2012-04-17T13:39:47.000+0000", "created": "2012-04-05T12:40:14.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "api" ], "versions": [ { "id": "13070", "description": "Release 1.8 Service Pack 2", "name": "Release 1.8.2", "archived": true, "released": true, "releaseDate": "2012-02-29" } ], "issuelinks": [ { "id": "16464", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "89717", "key": "TIMOB-8619", "fields": { "summary": "iOS: Overlay views on camera are always displayed in portrait mode", "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": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-06-12T17:07:52.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": "h4. Problem Description\r\nAs there is no way to limit the iPad2/3 camera from automatically changing the orientation of the live camera if there is an orientation change, I need to find a way to dynamically change the overlay that we are showing over the live camera view.\r\n\r\nI have added an orientationchange event handler to allow me to try to reset the overlay view width/height but any changes that I make to the overlay view width/height (changing from landscape to portrait and vica versa) do not appear to be picked up and applied to the overlay - the overlay remains showing with the original width and height in the live camera view.\r\n\r\nh4. Actual Results\r\nThe overlay won't change\r\n\r\nh4. Expected results\r\nbeing able to provide the right overlay for landscape or portrait\r\n\r\nh4. Extra info\r\nOne way to accomplish this would be to provide a secondary overview for the landscape or portrait orientation", "attachment": [], "flagged": false, "summary": "iOS: Camera needs to support overlay for Landscape and Portrait (right now, you can only provide one overlay).", "creator": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "subtasks": [], "reporter": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "environment": "Titanium SDK version: 1.8.2\r\nPlatform & version: iOS 5.1\r\nDevice Details: iPad 2 \r\nHost Operating System: OSX 10.7.3 \r\nTitanium Studio version: 1.0.9", "comment": { "comments": [ { "id": "190253", "author": { "name": "lauriek334", "key": "lauriek334", "displayName": "Laurence Kirchmeier", "active": true, "timeZone": "America/New_York" }, "body": "How exactly does one change to a secondary landscape view after Ti.Media.ShowCamera has opened? This is the problem I am battling - once the live camera view is showing with the overlay view that I passed in as a parameter to Ti.Media.ShowCamera, I can't seem to make changes to the overlay view or change the overlay to a different view formatted for landscape. This issue is only when using the camera module on an iPad2/3 where the camera rotates the live camera view and the overlay view on orientation change.", "updateAuthor": { "name": "lauriek334", "key": "lauriek334", "displayName": "Laurence Kirchmeier", "active": true, "timeZone": "America/New_York" }, "created": "2012-04-07T13:28:48.000+0000", "updated": "2012-04-07T13:28:48.000+0000" }, { "id": "191427", "author": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "body": " This can be achieved by having all controls (for both landscape and portrait) inside the same overlay.Hide and show the controls by listening for change in Orientation. You can find an example for this in [here|https://gist.github.com/2408765].\r\n\r\nSo going to mark this ticket as invalid.", "updateAuthor": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-04-17T13:37:19.000+0000", "updated": "2012-04-17T13:37:19.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }