读书人

Plist资料载入

发布时间: 2012-09-19 13:43:54 作者: rapoo

Plist文件载入

NSBundle *bundle = [NSBundle mainBundle];
NSString *plistPath = [bundle pathForResource:@"File Name" ofType:@"plist"];
NSDictionary *dictionary = [[NSDictionary alloc] initWithContentsOfFile:plistPath];

读书人网 >移动开发

热点推荐