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