只要能设置背景色,就能设置背景图片 用设置背景色的方法,设置一张背景图片: [self.viewsetBackgroundColor:[UIColorcolorWithPatternImage:[UIImageimageNamed:@"indexbg.jpg"]]];