appcelerator/titanium_mobile — pull request #6529 by shopmium (2014-12-31 14:23:23+00:00)
Title: iOS : Add ability to detect permission for camera

Sample JS :

Ti.Media.requestCameraAuthorization(function(e) {
if (e.success) {
// You have camera access
} else {
// Denied camera access
}
});