The iOS application is that Xcode will optimize the PNG file so that the picture preview is not displayed. So how do you look at these optimized files?
The optimized action is done by the Pngcrush tool, and you can find it in Xcode. Pngcrush supports command line option-revert-iphone-optimizations.
This option enables you to undo optimizations that are made during Xcode compilation. So, to see the optimized file, you should first undo the optimization and then use the picture Preview to open it.
The following code is how to use the Pngcrush tool to convert an iOS-optimized PNG image (Local.png) to a standard PNG file (local-standard.png)
$/applications/xcode.app/contents/developer
/platforms/iphoneos.platform/developer/usr/bin/pngcrush
-revert-iphone-optimizations-q Local.png Local-standard.png
If Xcode is not installed in a standard location, you can use Xcode-select to find the location of the tool:
$ "' Xcode-select-print-path '"
/platforms/iphoneos.platform/developer/usr/bin/pngcrush
-revert-iphone-optimizations-q Local.png Local-standard.png