Xcode iOS Sprite Kit Game Doesn't Show Images on iOS 7 But Works on iOS 8

五迷三道 提交于 2019-12-13 02:54:33

问题


I have uploaded a video to better explain my problem and to show you exactly what is happening. Here is the video https://www.youtube.com/watch?v=TBmLqK4sqWc

I am making my first iOS game using Sprite Kit but can't seem to get the game working on iOS 7. The game runs just fine on iOS 8.1 simulator and ever works on my actual device (iPhone 6) running iOS 8.

The problem is that images do not show on iOS 7. They don't show on iOS 7 simulator and they do not show on an actual device running iOS 7, I tested it.

I don't think it has to do with the way I am naming the images because it works fine on iOS 8. However, I am loading the images by dragging and dropping them into a folder in the project named images. These images are named like image@2x.png then I load the images with the name 'image' as a sprite node.

Has any one had this issue before? What could be my problem?

来源:https://stackoverflow.com/questions/26581147/xcode-ios-sprite-kit-game-doesnt-show-images-on-ios-7-but-works-on-ios-8

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!