{ "id": "159928", "key": "TIMOB-23354", "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": "11", "description": "Is not a bug in our product", "name": "Not Our Bug" }, "resolutiondate": "2016-05-12T00:07:13.000+0000", "created": "2016-05-02T16:36:36.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "apetkov", "key": "apetkov", "displayName": "Angel Petkov", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-24T18:54:17.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": "Using code like the following, our app creates an overlay View then opens the camera. Even though we have showControls set to false, when users pinch to zoom, the zoom control is displayed.\r\n\r\n{code}\r\nTi.Media.showCamera({\r\n overlay: overlay.getView(),\r\n showControls: false,\r\n autohide: false,\r\n success: doCameraSuccess,\r\n cancel: doCameraCancel,\r\n error: doCameraError,\r\n saveToPhotoGallery: false,\r\n allowEditing: false,\r\n mediaTypes: Ti.Media.MEDIA_TYPE_PHOTO\r\n});\r\n{code}\r\n\r\nSee the attached sample project (though this effect is seen whenever the camera is opened with an overlay)", "attachment": [ { "id": "59120", "filename": "app.js", "author": { "name": "acvauctions", "key": "acvauctions", "displayName": "Tim Poulsen (ACV)", "active": true, "timeZone": "America/New_York" }, "created": "2016-05-02T16:35:29.000+0000", "size": 2767, "mimeType": "text/javascript" }, { "id": "59121", "filename": "Screen Shot 2016-05-02 at 12.34.15 PM.png", "author": { "name": "acvauctions", "key": "acvauctions", "displayName": "Tim Poulsen (ACV)", "active": true, "timeZone": "America/New_York" }, "created": "2016-05-02T16:34:59.000+0000", "size": 564748, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: Camera with overlay, zoom control visible with showControls = false", "creator": { "name": "acvauctions", "key": "acvauctions", "displayName": "Tim Poulsen (ACV)", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "acvauctions", "key": "acvauctions", "displayName": "Tim Poulsen (ACV)", "active": true, "timeZone": "America/New_York" }, "environment": "Ti SDK 5.2.0.GA\r\niOS 9.1\r\nTested on iPhone 5, iPhone 6", "closedSprints": [ { "id": 627, "state": "closed", "name": "2016 Sprint 10 SDK", "startDate": "2016-05-07T00:43:56.954Z", "endDate": "2016-05-21T00:43:00.000Z", "completeDate": "2016-05-23T02:06:04.349Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "385297", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, \r\n\r\nI have tested the issue you have reported. I was able to reproduce the issue in iOS 9.2 device. I used the sample code you have provided. Not sure this should disable the zoom control or not. This is possibly a bug in the platform.\r\n\r\nRegards,\r\nSharif.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-05-10T16:50:19.000+0000", "updated": "2016-05-10T16:50:55.000+0000" }, { "id": "385355", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{{showControls}} is equivalent to iOS native {{UIImagePickerController:showCameraControls}} so this is possibly a native issue. \r\n[~apetkov] Can you create a native app in Xcode to verify if it's a native behavior?\r\nhttp://www.musicalgeometry.com/?p=821 for your reference.\r\n\r\nAnd this here: http://stackoverflow.com/questions/30288950/uiimagepickercontroller-shows-black-bar-when-zooming-is-this-a-bug-in-ios\r\nAlthough it's talking about a different bug, its {{showCameraControls: false}} yet the zoom control is seen in the screenshot. ", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-05-11T02:26:38.000+0000", "updated": "2016-05-11T02:26:38.000+0000" }, { "id": "385435", "author": { "name": "apetkov", "key": "apetkov", "displayName": "Angel Petkov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This is indeed a native problem, i created a native application and the zoom bar still appears regardless. I couldn't find any work-arounds or information about the issue by apple, there are some posts on stack [overflow|http://stackoverflow.com/search?q=Remove+Zoom+slider+in+UIImagePickerController] however all unanswered ", "updateAuthor": { "name": "apetkov", "key": "apetkov", "displayName": "Angel Petkov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-05-11T19:38:59.000+0000", "updated": "2016-05-11T19:38:59.000+0000" }, { "id": "385478", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Thank you [~apetkov]. Resolving ticket.", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-05-11T23:54:19.000+0000", "updated": "2016-05-11T23:54:19.000+0000" }, { "id": "415706", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket with reference to the previous comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-24T18:54:17.000+0000", "updated": "2017-03-24T18:54:17.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }