project_files/HedgewarsMobile/Classes/TeamConfigViewController.m
changeset 4115 222b8016c773
parent 4082 bfe14b38dad1
child 4244 bf46b4bdf27d
equal deleted inserted replaced
4114:b4c31cea013e 4115:222b8016c773
    37     [super viewDidLoad];
    37     [super viewDidLoad];
    38 
    38 
    39     CGSize screenSize = [[UIScreen mainScreen] bounds].size;
    39     CGSize screenSize = [[UIScreen mainScreen] bounds].size;
    40     self.view.frame = CGRectMake(0, 0, screenSize.height, screenSize.width - 44);
    40     self.view.frame = CGRectMake(0, 0, screenSize.height, screenSize.width - 44);
    41 
    41 
    42     if ([UITableView respondsToSelector:@selector(setBackgroundView:)])
    42     if ([self.tableView respondsToSelector:@selector(setBackgroundView:)])
    43         [self.tableView setBackgroundView:nil];
    43         [self.tableView setBackgroundView:nil];
    44     self.view.backgroundColor = [UIColor clearColor];
    44     self.view.backgroundColor = [UIColor clearColor];
    45     self.tableView.separatorColor = UICOLOR_HW_YELLOW_BODER;
    45     self.tableView.separatorColor = UICOLOR_HW_YELLOW_BODER;
    46     self.tableView.separatorStyle = UITableViewCellSeparatorStyleNone;
    46     self.tableView.separatorStyle = UITableViewCellSeparatorStyleNone;
    47 }
    47 }