0
项目在iOS 8设备和模拟器上构建和运行完美。但在iOS 9设备上运行给出错误:无法找到Root.plist。 plist将根据首选语言(英语或普通话)进行选择。错误:升级到iOS后找不到.plist文件9
NSString *path = [[NSBundle mainBundle] pathForResource:@"Settings" ofType:@"bundle"];
path = [path stringByAppendingPathComponent:[[[NSLocale preferredLanguages] objectAtIndex:0] stringByAppendingPathExtension:@"lproj"]];
path = [path stringByAppendingPathComponent:@"Root.plist"];
my files in project nav window