摘要:
NSUserDefaults可以存取一些短小的信息。比如存入再读出一个字符串到NSUserDefaultsNSString *string = [NSString stringWithString @"hahaha"];NSUserDefaults *ud = [NSUserDefaults standardUserDefaults];[ud setObject:string forKey:@"myKey"];NSString *value;value = [ud objectForKey:"myKey"];但是并不是所有的东西都能往 阅读全文