【发布时间】:2011-09-23 11:16:04
【问题描述】:
我在 imagePicker 上工作,我需要在其中显示带有一些叠加视图的相机。但是它隐藏了状态栏,请告诉我如何在这里显示它是一个代码
imagePickerController = [[UIImagePickerController alloc] init];
imagePickerController.delegate = self;
imagePickerController.sourceType = sourceType;
imagePickerController.showsCameraControls = NO;
imagePickerController.cameraViewTransform = CGAffineTransformScale(imagePickerController.cameraViewTransform, 0.5f, 0.5f);
imagePickerController.cameraOverlayView = self.tabBarController.view;
self.navigationController.navigationBarHidden = YES;
imagePickerController.navigationBar.barStyle = UIBarStyleBlack;
[self presentModalViewController:imagePickerController animated:YES];
【问题讨论】:
-
@peko 但仍然没有可用的有效解决方案
标签: iphone objective-c ios