Luke_i
Luke_i

Reputation: 163

Xcode Button Image Not Showing

I am new to Xcode and was wondering why my button is not displaying my image when building the application.

enter image description here

Upvotes: 0

Views: 5924

Answers (2)

Rajat
Rajat

Reputation: 11127

Go to your storyboard, select your UIImageView, now in the Attributes Inspector check the name of the Image, if it is correct or not.

Check the screenshot

enter image description here

EDIT

You image folder is added as reference, while adding the folder make sure you have checked Copy Items if Needed and Create Groups, check the screenshot

enter image description here

Upvotes: 3

syntakks
syntakks

Reputation: 121

You should put your images within the assets folder. Then it can stretch to the correct size you need.

Upvotes: 1

Related Questions