equal
deleted
inserted
replaced
45 |
45 |
46 if ([self.tableView respondsToSelector:@selector(setBackgroundView:)]) { |
46 if ([self.tableView respondsToSelector:@selector(setBackgroundView:)]) { |
47 if (IS_IPAD()) |
47 if (IS_IPAD()) |
48 [self.tableView setBackgroundView:nil]; |
48 [self.tableView setBackgroundView:nil]; |
49 else { |
49 else { |
50 UIImage *backgroundImage = [[UIImage alloc] initWithContentsOfFile:@"backgroundCenter.png"]; |
50 UIImage *backgroundImage = [[UIImage alloc] initWithContentsOfFile:@"background~iphone.png"]; |
51 UIImageView *background = [[UIImageView alloc] initWithImage:backgroundImage]; |
51 UIImageView *background = [[UIImageView alloc] initWithImage:backgroundImage]; |
52 [backgroundImage release]; |
52 [backgroundImage release]; |
53 [self.tableView setBackgroundView:background]; |
53 [self.tableView setBackgroundView:background]; |
54 [background release]; |
54 [background release]; |
55 } |
55 } |