IOS Check if camera is available

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

Comments

Popular posts from this blog

Install DNF in RHEL/CentOS 7

PostgreSQL - Numeric Function

IOS How to create movie from images