NSBundle - (not loaded yet) Error

前端 未结 2 2065
臣服心动
臣服心动 2021-01-05 18:58

I am trying to get a strings file table for use with NSLocalizedStringFromTableInBundle.

I am using this method:

+(NSBundle*)getBundleForLang:(NSStri         


        
2条回答
  •  有刺的猬
    2021-01-05 19:27

    Check the case of your file paths. The simulator (by default) is not case sensitive, whereas the device is. This could cause the simulator to successfully find the file, but the device to fail.

提交回复
热议问题