IOS Check if camera is available

BOOL isCheck = NO;
if (![UIImagePickerController isSourceTypeAvailable:UIImagePickerControllerSourceTypeCamera]){
isCheck = NO;
} else {
isCheck = YES;
}

Comments

Popular posts from this blog

AWS Lambda – Function in Go

Install DNF in RHEL/CentOS 7

AWS Lambda – Function in Java