NSArray *pathArray = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
return [[pathArray objectAtIndex:0] stringByAppendingPathComponent:@"data.plist"];
和
return [[NSBundle mainBundle] pathForResource:@"data" ofType:@"plist"];
该文件存储在我的文档文件夹中。