I\'m adding a UIImageView to the UIViewController\'s UIView as I would normally, with the frame of the image view being the same as self.view to make sure that the
self.view
I had the same problem and it solved with this:
UIImageView *imageView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, self.view.frame.size.width, self.view.frame.size.height)];
self.view.frame give you the wrong x and y when status bar is not hidden
self.view.frame
x
y
hidden