OpenGL ES crash on move background, iOS 5.1

前端 未结 3 1402
刺人心
刺人心 2020-12-29 10:24

I have a little issue about my application iOS. When i\'m using the iOS simulator 5.1 ipad/iphone the application is working, but when i use a real iOS device (iPad and iPho

3条回答
  •  佛祖请我去吃肉
    2020-12-29 10:50

    In iOS 5.1 it is enforced that you cannot make a call to OpenGL after you have been requested to resign active.

    - (void)applicationWillResignActive:(UIApplication *)application
    

    Is the place to stop everything, whether it be a CADisplayLink or a [[CCDirector sharedDirector] stopAnimation]

提交回复
热议问题