Cesare
Cesare

Reputation: 9419

How do I set a background image using Xcode?

I'm trying to set a background image in the first UIViewController. I'm dragging the UIImageView from the Object library and placing it on the UIViewController. Afterwords, I select the the background image but other objects get selected because they overlap the image. Is there any way to select the background image and not the other objects?

Upvotes: 1

Views: 3365

Answers (1)

Guled
Guled

Reputation: 679

Go to your storyboard, and find this button at the bottom left corner:

enter image description here

You should see this on your left now:

enter image description here

Now drag your image view object under any other object you wish on the left hand side under your view controller scene. An example would be that if you had this persons objects in your view controller you would put the image view before the button.

Hope this helped.

Upvotes: 4

Related Questions