将plist文件读取成为数组

时间:2023-03-08 16:05:39

    NSString *plistPath = [[NSBundle mainBundle] pathForResource:@"city" ofType:@"plist"];

     self.cityArr = [[NSMutableArray alloc] initWithContentsOfFile:plistPath];

相关文章