Hi, all,
I am trying cocos2d-x to build an application accross Android and iOS. I need save data persistently, such like user’s account and password. Shall I use CCUserDefault::sharedUserDefault()->setxxxForKey()? I just found the information I saved is lost again when the device is restarted. Could anybody give me some guides? Thanks a lot in advance!
Best regards,
HouZhe