Tag Archives: UIBarButtonItem

Not a PNG file.. solution

Let me show you what I did wrong

The reason for this error is that my image was in JPG format before, and then I changed the suffix name to PNG. It looks like you have changed it, but in fact you still haven’t changed it. The image is still in JPG format.
Solutions:
1. First change the image format to JPG format
(Why don’t you just drag the image to Photoshop, because you can’t do that at this time)

So, when we change the image format to JPG, we can drag it to PS
2. Drag the image into Photoshop and save it again. Make sure to change the format to PNG.