user4277177
user4277177

Reputation:

Images not displayed on corresponding xib file

I have created empty application in xcode .Then i created two view controller with xib.Then i placed images background using interface builder login.jpg on loginBIDViewController.xib and home.jpeg on ESBPBIDViewController.xib.I have set the necessary constraints . On running the project .Simulator doesn't displays those images on corresponding xib .I do not understand the reason behind this simple stepenter image description here.Here is link for of sample code for correction.https://drive.google.com/file/d/0B5pNDpbvZ8SncGFuaDd0dkpUOE0/view?usp=sharing

Upvotes: 1

Views: 704

Answers (2)

Abdelahad Darwish
Abdelahad Darwish

Reputation: 6067

Go to Target -> Build Phases -> Copy Bundle Resources -> Add login.jpg and home.jpgenter image description here

enter image description here

Upvotes: 0

Basheer
Basheer

Reputation: 1207

enter image description hereGo to Target -> Build Phases -> Copy Bundle Resources -> Add login.jpg to the list.

This will display the image on view.

Hope this helps :)

Upvotes: 2

Related Questions