NSBundle pathForResource is NULL

前端 未结 9 1001
感情败类
感情败类 2020-11-29 04:41

I\'m creating a simple application with xcode and objc and I need to load an NSDictionary from a file, but I can\'t get the path to the file using NSBundle:

         


        
9条回答
  •  刺人心
    刺人心 (楼主)
    2020-11-29 04:56

    Make sure you spell your resource's file name properly. I just learned that the hard way. :)

提交回复
热议问题