读取plist文件
结合自己的项目说明
有一个MoreAppsNew-MrsFoxApp.plist文件 读取这个文件
文件内容如
NSDictionary *dic=[[NSDictionary alloc] initWithContentsOfFile:[[NSBundle mainBundle] pathForResource:@"MoreAppsNew-MrsFoxApp" ofType:@"plist"]];
NSLog(@"%@",dic);
NSString *firstName = [dic objectForKey:@"firstimage"];
NSString *secondName = [dic objectForKey:@"secondimage"];
NSString *thirdName = [dic objectForKey:@"thirdimage"];这样就把这三个值取出来了 其他的同理。