通过路径添加图片

path = [[NSBundle mainBundle] pathForResource:@"shujia" ofType:@"jpg"];
back = [UIImage imageWithContentsOfFile:path];
posted @ 2014-01-02 18:19  徐坤很无聊  阅读(150)  评论(0)    收藏  举报