This is the problem-
Can someone please tell me whats the issue and where I have gone wrong?
This is the problem-
Can someone please tell me whats the issue and where I have gone wrong?
You are just changing the UI based on your perspective, it’s not getting stretched but you are just viewing it in a weird ratio due to the explorer and toolbar, etc.. , and it’s probably because of your UI scaling too. Try going in devices and viewing on an HD 1080, it will show you how it will look in game. Try using UIAspectRatioConstraints depending on the situation and if not try to properly scale your UI using scale not offset
what this guy said, BUT.
the UI is stretching because of the Scale sizing type
i suggest getting AutoScale light, and adding a UISizeConstraint [or UIAspectRatioConstraint] to solve this