NSBundle *bundle = [NSBundle mainBundle];
NSString *plistPath = [bundle pathForResource:@"File Name" ofType:@"plist"];
NSDictionary *dictionary = [[NSDictionary alloc] initWithContentsOfFile:plistPath];
Plist文件载入
最新推荐文章于 2021-06-29 14:31:47 发布
NSBundle *bundle = [NSBundle mainBundle];
NSString *plistPath = [bundle pathForResource:@"File Name" ofType:@"plist"];
NSDictionary *dictionary = [[NSDictionary alloc] initWithContentsOfFile:plistPath];