¡@

Home 

2014/10/15 ¤U¤È 10:09:30

iphone Programming Glossary: gamescore

Storing results after screen is disappear

http://stackoverflow.com/questions/16475300/storing-results-after-screen-is-disappear

more info to Ahmed's answer you should implement in your AppDelegate.m three methods like this AppDelegate.h NSNumber gamescore @property nonatomic strong NSNumber gamescore #define UIAppDelegate AppDelegate UIApplication sharedApplication .delegate.. in your AppDelegate.m three methods like this AppDelegate.h NSNumber gamescore @property nonatomic strong NSNumber gamescore #define UIAppDelegate AppDelegate UIApplication sharedApplication .delegate AppDelegate.m @synthesize gamescore BOOL checkFirstRun.. gamescore #define UIAppDelegate AppDelegate UIApplication sharedApplication .delegate AppDelegate.m @synthesize gamescore BOOL checkFirstRun NSUserDefaults defaults NSUserDefaults standardUserDefaults NSNumber defaultcheck defaultcheck defaults..