Set Game View Resolution

I have been struggling with GUI elements in my game for the last few days, and wondering why the sizes are so different in the Unity game view compared to when I build it onto my iPhone, until I just came across this, in the game view, below the drop down to set the resolution, is the text:

Using resolution 512 x 768,

I’m sure it is such a simple thing, but I can’t figure out why this is happening, or how to change it, and I could kick myself for not seeing it earlier, I’ve been setting up GUI elements blindly and having to build it to my iPhone each time to test it.[28995-screen+shot+2014-07-10+at+7.58.02+pm.png|28995]

Get ready to kick yourself. When the editor layout means that the Game window cannot be made the size you select, it’ll use the aspect ratio you need, but reduce the width and height. So, in your case, 512x768 is the same ratio as 640x960, but it’s the largest resolution that fits.