Front camera Default open
Opened this issue · 0 comments
ErAshu commented
I want to open by default front camera. I have implement below function but its crashing. Please fix.
if cameraView.hasFrontCamera {
cameraView.cameraPosition = .front
}else{
AppTool.showAlertView(vc: self, titleString: kAlert, messageString: "Your device has not front camera")
}