在Xcode9.1时候运行iOS8.1模拟器时候app中图片都正常显示,但是到Xcode9.2时候图片显示出现异常,Xcode9.2 bug,现在有两种解决办法:
1.move images from Assets.xcassets to bundle (thus loaded image from file instead of assets);
2.still use Xcode 9.1 till apple fixes the bug. (bug has been reported to apple)
建议:上线时候一定用Xcode9.1打包,这样不会出现图片异常情况.