pathForResource? without using extension (Iphone)

后端 未结 5 1289
醉话见心
醉话见心 2020-12-31 04:22

Here is what I\'m doing, when I create an image with the path in the bundle:


UIImage *image = [UIImage imageWithContentsOfFile:[[NSBundle mainBundle] pathFo         


        
5条回答
  •  时光取名叫无心
    2020-12-31 05:13

    The easiest way is to store the name and file type in your database separately, and retrieve them using the first method.I'm not sure that you can be successful in implementing the latter one.

提交回复
热议问题