Project: titanium
Issue TIMOB-18815: iOS: Not able to store video in Gallery when captured directly from the app
h5.Reproduce Step: Simply run the test case in a classic project. {code:title=app.js} Ti.UI.backgroundColor = 'white'; var win = Ti.UI.createWindow({}); var button = Ti.UI.createButton({	top: 100,	left: 30,	title: "Show Camera", }); button.addEventListener("click", function(){	Titanium.Media.showCamera({	success:function(event) {	// called when media returned from the camera	Ti.API.info('showCamera: ' + JSON.stringify(event));	if (event.mediaType == Ti.Media.MEDIA_TYPE_VIDEO) {	alert("Video saved");	}	},	cancel:function() {	alert("cancelled Camera!");	},	error:function(error) {	var a = Titanium.UI.createAlertDialog({title:'Camera'});	if (error.code == Titanium.Media.NO_CAMERA) {	a.setMessage('Please run this test on device');	} else {	a.setMessage('Unexpected error: ' + error.code);	}	a.show();	},	saveToPhotoGallery:true,	allowEditing : true,	mediaTypes : [Ti.Media.MEDIA_TYPE_VIDEO]	}); }); win.add(button); win.open(); {code} h5.Expect Result: Video should save into gallery, like a picture. h5.Actual Result: Console log shows the camera saved. But can't find it in gallery.
Story points: 5