Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-17431] iOS: Liveview of the camera deformes when an overlay is used

GitHub Issuen/a
TypeBug
PriorityNone
StatusOpen
ResolutionUnresolved
Affected Version/sRelease 3.3.0
Fix Version/sn/a
ComponentsiOS
Labelsn/a
ReporterMauro Parra-Miranda
AssigneeUnknown
Created2014-07-31T00:22:59.000+0000
Updated2018-02-28T20:03:49.000+0000

Description

Problem Description

If you add an overlay to the camera view, the live image being showed will be deformed.

Steps to reproduce

1.Create a new mobile project (classic titanium) 2. Copy this code to app.js:
var window = Titanium.UI.createWindow({
	backgroundColor:'#fff',
});


var overlay = Titanium.UI.createView({
	height:'100%',
	width:'100%',
});



Titanium.Media.showCamera({
	success:function(event){
		alert('success');
	},
	error:function(e){
		alert(e.error);
	},
	cancel:function(){
		
	},
	overlay:overlay,
});


window.open();

3. Deploy the app into a device. 4. Launch the app.

Comments

No comments

JSON Source