user1256477
user1256477

Reputation: 11191

changing a png image from project

I want to change a png image in my project, I deleted the first one, and add the new one, but the last one is shown.

I deleted the second one from project, and the original image is still shown. I look for the image in the project, and it is not there.

How can I delete the first one? I tried to clean the project, but the image continues there.

Upvotes: 1

Views: 66

Answers (3)

user2063613
user2063613

Reputation:

Delete that build from your simulator first.

Then clean and build the project again.

It should work.

Upvotes: 0

Krishna Raj Salim
Krishna Raj Salim

Reputation: 7390

Try Product -> Clean; then Run the app once again.

If it isn't working, then close the Xcode and open again and Run.

Even the problem exists, then just reset your simulator(ResetContentsAndSettings) and Restarts the Mac.

Upvotes: 1

Roland Keesom
Roland Keesom

Reputation: 8288

Did you try:

  • Removing the app from device / simulator?
  • Closing Xcode?
  • Rebooting your computer?
  • Rebooting your device?
  • Resetting the simulator?

Upvotes: 2

Related Questions