Nat*_* R. 5 iphone uiimagepickercontroller uistatusbar
我从我的MainViewController调用UIImagePickerController(sourceTypeCamera)作为modalViewController.但是,UIImagePickerController不会将屏幕填满顶部,如附带的图像所示.
知道是什么导致这个,以及如何解决?
经过多次尝试,我发现从调用presentViewController[[[[UIApplication sharedApplication] delegate] window] rootViewController]解决了问题。