Slows down the iPad retina simulator 6.0

孤街醉人 提交于 2020-01-02 21:01:12

问题


I have a game made in cocos2d for iPhone, I've adapted for iPad and works well if not retina. When I run my game in the retina iPad simulator, the game is very slow, the images of the characters take a lot to load. Why does this happen? Is the problem the simulator? Am I missing a line of code to run normal? The code is exactly the iPhone and iPhone is great.


回答1:


The simulator can have a very different performance profile than a device—in this case your computer’s graphics card might just be struggling to handle the large graphics context of the retina iPad screen. You should always do your performance testing on an actual device, particularly with apps like yours that make use of OpenGL.



来源:https://stackoverflow.com/questions/12718230/slows-down-the-ipad-retina-simulator-6-0

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