project_files/HedgewarsMobile/Classes/TeamConfigViewController.m
changeset 6220 39782c4d9246
parent 6219 c193881389c1
child 6247 6dfad55fd71c
equal deleted inserted replaced
6219:c193881389c1 6220:39782c4d9246
    46         aTableView.contentInset = UIEdgeInsetsMake(10, 0, 10, 0);
    46         aTableView.contentInset = UIEdgeInsetsMake(10, 0, 10, 0);
    47     } else {
    47     } else {
    48         UIImage *backgroundImage = [[UIImage alloc] initWithContentsOfFile:@"background~iphone.png"];
    48         UIImage *backgroundImage = [[UIImage alloc] initWithContentsOfFile:@"background~iphone.png"];
    49         UIImageView *background = [[UIImageView alloc] initWithImage:backgroundImage];
    49         UIImageView *background = [[UIImageView alloc] initWithImage:backgroundImage];
    50         [backgroundImage release];
    50         [backgroundImage release];
    51         [aTableView setBackgroundView:background];
    51         [self.view addSubview:background];
    52         [background release];
    52         [background release];
       
    53         [aTableView setBackgroundColorForAnyTable:[UIColor clearColor]];
    53     }
    54     }
    54 
    55 
    55     aTableView.indicatorStyle = UIScrollViewIndicatorStyleWhite;
    56     aTableView.indicatorStyle = UIScrollViewIndicatorStyleWhite;
    56     aTableView.separatorColor = [UIColor whiteColor];
    57     aTableView.separatorColor = [UIColor whiteColor];
    57     aTableView.separatorStyle = UITableViewCellSeparatorStyleNone;
    58     aTableView.separatorStyle = UITableViewCellSeparatorStyleNone;