通过路径添加图片

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