CCUserDefault key issue ?

CCUserDefault key issue ?
0.0 0



I don’t know if this is an issue or I just use in a wrong way ?

If I applied the key for “Best Score”, I can’t save anything into the xml file.

It seems can’t find the key when I dig into the code.

But I change to “BestScore” without any space between words, if works fine.

Thank you.


there can’t be any spaces in xml attribute.