Posts

Post not yet marked as solved
0 Replies
127 Views
Hey everyone! I have recently stared learning Swift but unfortunately lately encountered a problem that I'm unable to solve on my own.  Basically I have an image in my Launch Screen, an app logo. I'd like to set Alignment Constraints on it so it would always be centered, no matter the device or orientation. However, when I do that (I click the image and mark option "Horizontally in container" and "Vertically in container" with values 0), Xcode resizes my image so it covers the whole Launch Screen. It isn't of course what I was trying to do, so here is my question - what mistake do I make so that thing happens? I'd like to just center the image for every device and orientation. Thanks for any tips! Also, I'm sorry if that's a basic question. I have just started with Swift & Xcode. :)
Posted
by Miszka.
Last updated
.