Hello everyone,
I used this code to brings up iPad camera:
local onComplete = function(event) local photo = event.target photo.x = 1745; photo.y = 1380; photo.xScale = 1; photo.yScale = 1; sceneGroup:insert(photo); end if media.hasSource( media.Camera ) then media.show( media.Camera, onComplete ) end
I would like to activate only front facing camera. In other words, the user take photo of themselves!
I will really appreciate your help!
Many Thanks!