Hi,
I have my app working perfect under Android with the canvases set to reference resolution 1920 x 1080 and all works well.
I have now switched to iOS and am finding that dependant on which resolution I choose they either fit correct or are completely out of whack!
I have tried changing the reference resolution to 2688 x 1242 and some look ok but when I change to others they are still out of whack?
My problems are:
If I start fiddling with all the UI settings it will mean I have to have two project versions one for Android and one for iOS, surely that is not right?
If I try to set my reference resolution to an iPad the iPhones are out and vice versa, how do others handle this, have I missed somthing?
So is your problem related to automatic positioning of UI elements when you use anchors etc. or that you UI doesn’t respect the aspect ratio of the display?
One thing that comes to mind, is have you tried to create the resolution you will use on the target device in editor?
What I mean, go to your Game View, open the dropdown that shows aspect ratio or resolution, press + and create a pixel resolution that matches your target device.
Then you would see if it’s your anchoring and RectTransform setup issue or something else.
What I am finding on further scrutiny is for the most part the UI is holding good, apart from when selecting any of the iPad aspect ratios, all others are OK, which does not happen on Android when changing target aspect ratio.
I will continue to fiddle and let you know what occurs