shiyj
shiyj

Reputation: 171

I have two xcassets in my project. Why cannot load one of the xcassets' picture when run on the device/simulator?

I have tow xcassets in my project:

enter image description here

and both was copied to the bundle resources.

enter image description here

And I can see the picture on xib:

enter image description here

When I run the project, NO picture in the bjzjicons.xcassets was shown on the device/simulator.

But if I move the picture in bjzjicons.xcassets to Images.xcassets , they can show correct.

Can anyone tell me why ?

Upvotes: 1

Views: 202

Answers (1)

shiyj
shiyj

Reputation: 171

I have solved this problem just by moving the xcassets to the same folder with the xxx.xcodeproj/xcworkspace.

Upvotes: 1

Related Questions