I have a sprite on this path CCFileUtils::getWriteablePath()
I try this to achieve this sprite but it give error like this—>get data from file(assets/theme.png) failed. Why it find in assets folder???
string filePath = CCFileUtils::getWriteablePath();
filePath += fileName; //fileName theme.png
CCSprite* themeImage = CCSprite::spriteWithFile(filePath);
Thanks in Advance