摘要:
//检查前后摄像头 - (void)cameraBtnAction:(id)sender{BOOL cameraAvailable = [UIImagePickerController isCameraDeviceAvailable: UIImagePickerControllerCameraDeviceRear];//前BOOL frontCameraAvailable = [UIImagePickerController isCameraDeviceAvailable: UIImagePickerControllerCameraDeviceFront];//后}//检查指南针 CoreLo 阅读全文