
iOS8.1圖片出現(xiàn)異常
在Xcode9.1時(shí)候運(yùn)行iOS8.1模擬器時(shí)候app中圖片都正常顯示,但是到Xcode9.2時(shí)候圖片顯示出現(xiàn)異常,Xcode9.2 bug,現(xiàn)在有兩種解決辦法:
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)
建議:上線時(shí)候一定用Xcode9.1打包,這樣不會(huì)出現(xiàn)圖片異常情況.