I am calling a UIImagePickerController (sourceTypeCamera) as a modalViewController from my MainViewController.
However, the UIImagePickerController doesn’t fill the screen on top, as the image attached shows.

Any idea what can be causing this, and how to fix?
I am calling a UIImagePickerController (sourceTypeCamera) as a modalViewController from my MainViewController. However, the
Share
After lots of tries, I discovered that calling presentViewController from the
[[[[UIApplication sharedApplication] delegate] window] rootViewController]solved the problem.