只要能设置背景色,就能设置背景图片

 用设置背景色的方法,设置一张背景图片:

[self.viewsetBackgroundColor:[UIColorcolorWithPatternImage:[UIImageimageNamed:@"indexbg.jpg"]]];

posted @ 2013-05-24 23:44  ygm900  阅读(178)  评论(0)    收藏  举报