Talha Ahmad Khan
Talha Ahmad Khan

Reputation: 3476

Swift : Assets folder not working properly after recovering it back from bin

Recently i deleted my Assets.xcassets folder and when i recovered it back old images worked just fine but when I am adding new images, they are displaying on StoryBoard but not in the app.

I searched and found a solution that i have to select my app in 'Target Membership' in Assets.xcassets.

enter image description here

That worked for some viewControllers but some controllers like the Splash screen is not working

Tell me if I am missing something? Maybe I have to reference the assets folder somewhere?

Upvotes: 0

Views: 159

Answers (1)

Talha Ahmad Khan
Talha Ahmad Khan

Reputation: 3476

So, actually it just took some restarts of xcode and macbook and it started working correctly again. I think the only needed work was to check the 'Target Membership'

Upvotes: 1

Related Questions