2013-06-06 19 views
0

我打电话给UIImagePickerController来查看iPhone上的相册。问题似乎是,当模式在取消时滑落,似乎是模态顶部的白色填充块。有谁知道如何删除或清除?如何清除UIImagePickerController的背景?

这是我使用的代码,但它非常标准。

UIImagePickerController *imagePicker = [[UIImagePickerController alloc] init]; 
imagePicker.delegate = self; 
//imagePicker.sourceType = UIImagePickerControllerSourceTypeSavedPhotosAlbum; 
[self presentViewController:imagePicker animated:NO completion:nil]; 

Here is a screenshot of what the white padding looks like

+0

ur代码没问题。你可以请添加这个屏幕截图 – manujmv

+0

嗨,图片添加 – ORStudios

回答

1

apple docs不能改变背景颜色。

UIImagePickerController不打算修改。如果你这样做,你的应用程序将从应用商店被拒绝

解决方案是使用第三方库,如Three20