Cannot remove white space above view in a clone of UIImagePickerControler

I’m trying to remove a white space that shows above my image picker view. I’m using this clone of UIImagePickerController. You can see in this picture:

media-gap

It’s the white space between the gray bar at the top of the screenshot and the images. From this thread and this one, it seems the problem is the image picker leaving space for the status bar. But none of those solutions have worked for me. My app is built with cordova so I’ve also tried hiding the status bar using this plugin but it didn’t work. The size of the space simply increased because the statusbar was no longer present. The plugin relies on setStatusBarHidden:YES on the main UIApplication of the app, so it’s similar to one of the suggestions in those other threads.

What else can I try to fix this?