How to get path of image form Resource of main bundle

前端 未结 3 912
谎友^
谎友^ 2021-01-02 14:04

i have an iPhone application in which i added images directory (Group) in to Resources (group). i want to access that images which is in imag

3条回答
  •  轮回少年
    2021-01-02 14:36

    First of all Check if there is a file with name name in the main Bundle.

    It gives null when there is no file with such a name.

提交回复
热议问题