从plist中获取数据赋给字典

来源:互联网 发布:网络自媒体怎么赚钱 编辑:程序博客网 时间:2024/06/17 23:13
NSString *plistPath = [[NSBundle mainBundle] pathForResource:@"book" ofType:@"plist"];NSDictionary *dictionary = [NSDictionary dictionaryWithContentsOfFile:plistPath];

0 0
原创粉丝点击