Forcing an resolution for all android and iphone screens

Its really annoying, almost impossible to work with especially with android as there are wide, like WIDE, variety of phones with different screen ratio/resolution/size. I searched for this and I saw mixed answers, I am sorry but I would really like a help on this.

Is there a way to force a screen ratio for all the phones including android and iphone screen so the same the apk look same on all devices, as the guitext and guitextures I am using really mess up with with phone different to I am testing the game on and I have a big phone (note 2) which obviously not everyone have/ like to have.

Is there a way to force a screen ratio for all the phones including android and iphone screen so the same

Sure, but do you really want to? You can settle for an aspect ratio and stretch to fit your content using the cameras view rect, but that would waste a lot of screen estate and I think your users would wonder why they get a game that doesn’t use the entirety of the screen.

Yes, it’s a real problem rooted in a real world with real devices and they all differ in many ways. You could make a few supported aspect ratios and adjust to fit accordingly. Another way of tackling the problem is to try to make your game resolution/aspect independent. When it comes to GUI, you could either scale the GUI.matrix or position GUI objects according to screen dimensions.

When making the design of your GUI/game it is very important to keep this in mind, so it doesn’t come back slapping you later down the production.