1.NSString *path = [[NSBundle mainBundle] pathForResource:@"desc" ofType @"plist"]
返回null。
解答:查看Bunder Resources里面是否存在该desc.plist文件,如果不存在,则需要添加进去,如下图:
第一步:
第二步:
转载于:https://www.cnblogs.com/thinksasa/p/3685901.html
1.NSString *path = [[NSBundle mainBundle] pathForResource:@"desc" ofType @"plist"]
返回null。
解答:查看Bunder Resources里面是否存在该desc.plist文件,如果不存在,则需要添加进去,如下图:
第一步:
第二步:
转载于:https://www.cnblogs.com/thinksasa/p/3685901.html