I am new to Objective-C. 开发者_JS百科I know how to save values using NSUserDefaults
when the user presses the home button but it affects my application's performance. I want one method that saves values without affecting my application's performance.
You could take a look at DTResurrectionKit which is a handy way to store state.
精彩评论