摘要:
NSUserDefaults可以存取一些短小的信息。比如存入再读出一个字符串到NSUserDefaults:[cpp]view plaincopyNSString*string=[NSStringstringWithString@"hahaha"];NSUserDefaults*ud=[NSUserDefaultsstandardUserDefaults];[udsetObject:stringforKey:@"myKey"];NSString*value;value=[udobjectForKey:"myKey"]; 但是并不是所有 阅读全文