UIImageView *backgroundImageView = [[UIImageView alloc]initWithImage:[UIImage imageNamed:@"background.png"]];
self.tableView.backgroundView = backgroundImageView;
// UIView*backView = [[UIView alloc]initWithFrame:self.view.frame];
// backView.backgroundColor= [UIColor colorWithPatternImage:[UIImage imageNamed:@"background.png"]];
// self.tableView.backgroundView= backView;
第一种,更真实
第二种,图片拉伸放大了