实现 相机 底部 bar 自定义。让 相机 显示为全屏
#define CAMERA_TRANSFORM 1.24299
p_w_picpathPickerController= [[UIImagePickerController alloc]init];
if([UIImagePickerControllerisSourceTypeAvailable:UIImagePickerControllerSourceTypeCamera]) {
p_w_picpathPickerController.sourceType =UIImagePickerControllerSourceTypeCamera;
NSArray *temp_MediaTypes = [UIImagePickerControlleravailableMediaTypesForSourceType:p_w_picpathPickerController.sourceType];
p_w_picpathPickerController.mediaTypes = temp_MediaTypes;
p_w_picpathPickerController.delegate =self;
p_w_picpathPickerController.allowsEditing =YES;
//隐藏相机底部bar
p_w_picpathPickerController.showsCameraControls =NO;
p_w_picpathPickerController.toolbarHidden =YES;
p_w_picpathPickerController.navigationBarHidden =YES;
p_w_picpathPickerController.wantsFullScreenLayout =YES;
//让相机显示全屏
p_w_picpathPickerController.cameraViewTransform =CGAffineTransformScale(p_w_picpathPickerController.cameraViewTransform,
CAMERA_TRANSFORM,CAMERA_TRANSFORM);
}