IOS设置图片背景

在UIViewController里面这样设置:

self.view.backgroundColor = [UIColor colorWithPatternImage: [UIImage imageNamed:@"1.jpg"] ];
posted @ 2014-11-26 14:21  stonehat  阅读(224)  评论(0编辑  收藏  举报