iOS 设置背景图片
代码
UIImageView* imgView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"1(7).jpg"]];
imgView.frame = self.view.bounds;
imgView.autoresizingMask = UIViewAutoresizingFlexibleWidth;
[self.view insertSubview:imgView atIndex:0];