We can use pushScene with TransitionScene, let fade in and out to scene,but can not use popScene with TransitionScene fade back to pre scene.
So, if the popScene method can return the m_pNextScene, we can use this code to implement it:
CCScene * nextScene = CCDirector::sharedDirector()->popScene();
CCScene * fadeScene = CCTransitionFade::create( 1.0f, nextScene,ccc3( 255, 255, 255 ) );
CCDirector::sharedDirector()->replaceScene( fadeScene );
I tried, and it is works.
Please consider that.