有关社会化分享使用时的问题

今天做社会化分享,被俩个恶心的问题搞了半天。

sina 微博 要在

void AppDelegate::applicationDidEnterBackground()中加入

    CCDirector::sharedDirector()->stopAnimation();

    SimpleAudioEngine::sharedEngine()->pauseBackgroundMusic();

    SimpleAudioEngine::sharedEngine()->pauseAllEffects();

 

void AppDelegate::applicationWillEnterForeground()中加入

    CCDirector::sharedDirector()->startAnimation();

    SimpleAudioEngine::sharedEngine()->resumeBackgroundMusic();

    SimpleAudioEngine::sharedEngine()->resumeAllEffects();

 

否则 CCEGLView中 会死在 [[EAGLView sharedEGLView] swapBuffers];中。

 

微信则是分享的图片不能超过10K 否则出现不了分享回调页。

posted on 2014-07-01 20:55  大大世界  阅读(155)  评论(0编辑  收藏  举报

导航