//獲取文件路徑
NSString *path = [[NSBundlemainBundle] pathForResource:@"user.plist"ofType:@""];
//獲取數據
NSMutableDictionary* dict = [ [ NSMutableDictionaryalloc ] initWithContentsOfFile:path ];
NSString* object = [ dict objectForKey:@"aaa" ];
NSLog(object);
摘自 凡娃軟件
//修改數據
NSMutableDictionary* dict = [ [ NSMutableDictionaryalloc ] initWithContentsOfFile:path ];
[ dict setObject:textview.text forKey:@"bbb" ];
[ dict writeToFile:path atomically:YES ];