Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Preview in Xcode not showing images from assets library

the second image view's image is taken from asset library

the second image view's image is taken from asset library as you can see it is not referencing images from assets library but taking from the image file included in the project

I am using Xcode 7.2 enter image description here

like image 540
Subhajit Halder Avatar asked Feb 25 '16 07:02

Subhajit Halder


1 Answers

You have to do three steps:

  1. Open Xcode. Go to window and choose projects. From new menu choose delete derived data.

  2. Remove image from assets library. Set it again and link it to image view.

  3. Click cmd+shift+k to clean your project. After that run your app or put it in preview seen.

like image 161
Ahmed Abdallah Avatar answered Sep 20 '22 22:09

Ahmed Abdallah