UIImageView *imgView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"01首页.png"]];
imgView.frame = self.view.bounds;
imgView.autoresizingMask = UIViewAutoresizingFlexibleWidth;
[self.view insertSubview:imgView atIndex:0];
或者在viewDidload使用
self.view.backgroundColor = [UIColor colorWithPatternImage:[UIImageimageNamed imageNamed:@"instrument_bg"]];