Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-19983] iOS: Camera viewing area is reduced on zoom from one side of the screen

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionCannot Reproduce
Resolution Date2017-04-04T10:36:19.000+0000
Affected Version/sRelease 5.0.2
Fix Version/sn/a
ComponentsiOS
LabelsCommunity, camera
ReporterDean
AssigneeVijay Singh
Created2015-07-10T11:44:48.000+0000
Updated2017-07-26T03:36:14.000+0000

Description

When 'showControls' is set to 'false', while zooming, black bar is displayed on the side, and viewing area is reduced. It seams that background for not showing controls is still active and displayed. Very short example provided as attachment.

Attachments

FileDateSize
app.js2015-07-10T11:43:16.000+0000339
IMG_1347.PNG2017-04-04T10:37:41.000+00001646343
IMG_1348.PNG2017-04-04T10:37:52.000+00002232590

Comments

  1. Dean 2015-07-10

    Sorry, this issue is for Titanium Mobile, and related to TIMOB-17627.
  2. Chee Kiat Ng 2015-11-16

    Is this issue still valid on 5.0.2?
  3. Hans Knöchel 2015-11-16

    Yes it is, 5.1.x and 5.2.0 master as well.
  4. Hans Knöchel 2015-12-03

    I think the cause of the problem is not showControls, but the overlay property that is handled [here](https://github.com/appcelerator/titanium_mobile/blob/master/iphone/Classes/MediaModule.m#L1561). The frame seems to be miscalculated.
  5. Vijay Singh 2017-04-04

    This issue is not reproducible. [~ewieber] Can you please verify the same . Thanks.
  6. Hans Knöchel 2017-04-04

    The original issue was from 5.x and we fixed a lot of camera-related issues in 6.0.x. Resolving as Cannot Reproduce. I attached two screens (default state, zoom state) that show the (correct) behavior on SDK 6.x.

JSON Source