//获取文件路径
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 ];