Hello! I’m trying to make a countdown UI on my game, and it is not the same for all devices. I am not very knowledgeable on this and I’ve looked around the developer forum, but nothing made sense to me.
Is there a way that I can have it always in the center of the screen and the same size? I’ve also played around with UIAspectRatioConstraint, but I didn’t have any luck.
Basically, set the position and size to scale, in the textlabel (like meteor0id said). Then, set the anchorpoint of the textlabel to 0.5,0.5 (the middle of the screen). Lastly, ad a UIAspectRatioContraint to lock its relative size. Hope this helps