My app traces Capabilities.screenResolutionX and Capabilities.screenResolutionY. This outputs 1024x768 for my ipad mini. Okay so i begin shaping my app with 1024 width and 768 height for landscape display. 

The problem is that my 1024x768 content is put in the middle of the ipad screen with a white space on both the left and right side. So i test it even closer. I make a green square with these dimensions and place it at x:0 and y:0. It's still wrong. So is my ipad screen bigger than what Capabilities.screenResolutionX outputs or is it just kinda bugged so you have to make everything some inches bigger? 

In case it wasn't clear: It's only the width that doesn't match and have extra whitespace on both sides. The height is fine, an exact fit.