相关疑难解决方法(0)

iOS 4.3改变了UIImagePickerController的相机叠加视图的转换

在iOS 4.3上测试我的应用程序后,我注意到我的UIImagePickerController的相机覆盖有一个额外的转换,极大地扩展了内容.在iOS 4.3之前,一切都正确显示.

这就是我的工作

imagePicker = [[UIImagePickerController alloc] init];
imagePicker.delegate = self;
imagePicker.sourceType = UIImagePickerControllerSourceTypeCamera;

cameraOverlay = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 200, 200)];
cameraOverlay.backgroundColor = [UIColor clearColor];
cameraOverlay.userInteractionEnabled = NO;

//add subviews to camera Overlay

imagePicker.cameraOverlayView = pauseButton;
Run Code Online (Sandbox Code Playgroud)

任何想法,我必须做什么来摆脱增加的转变?

iphone objective-c uiimagepickercontroller ios4 ios

2
推荐指数
1
解决办法
1913
查看次数

标签 统计

ios ×1

ios4 ×1

iphone ×1

objective-c ×1

uiimagepickercontroller ×1