Gui in same place regardless of resolution

Ok i have an iphone game and the joysticks are done, but i have one issue. If i inset the gui to go to the corner of one resolution, then it will be in a different spot for a different resolution. So basically my question is how can i put the gui of the joystick to be in the two corners no matter what the resolution is, mabye by using inches instead of pixels? Idk

Try to look for “Responsive design” to learn more, how ever, here is how i do it :
1-Place your your GUI elements in the editor using absolute positions and size something like

Rect playBut = new Rect(15,20,200,150);

2-calculate what those values represent to the current screen resolution, basically you need to know the percentage of each value related to the screen resolution.
3-once you finished from step 2, you should able to set your element based on the current screen resolution for example :

Rect playBut = new Rect(0,0,0,0);
 PlayBut.x += Screen.Width *0.05;
 PlayBut.y += Screen.Height *0.02;
 PlayBut.Width = Screen.Width/4;
 PlayBut.Height = Screen.Height/8;  

i hope you get the point from that, it’s all about setting your elements always related to your screen resolution