project_files/HedgewarsMobile/Classes/SchemeWeaponConfigViewController.m
changeset 4082 bfe14b38dad1
parent 3983 aa24192417a8
child 4115 222b8016c773
equal deleted inserted replaced
4081:d4cb8f216724 4082:bfe14b38dad1
    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     [self.tableView setBackgroundView:nil];
    44     if ([UITableView respondsToSelector:@selector(setBackgroundView:)])
       
    45          [self.tableView setBackgroundView:nil];
    45     self.view.backgroundColor = [UIColor clearColor];
    46     self.view.backgroundColor = [UIColor clearColor];
    46     self.tableView.separatorColor = UICOLOR_HW_YELLOW_BODER;
    47     self.tableView.separatorColor = UICOLOR_HW_YELLOW_BODER;
    47     self.tableView.separatorStyle = UITableViewCellSeparatorStyleNone;
    48     self.tableView.separatorStyle = UITableViewCellSeparatorStyleNone;
    48 }
    49 }
    49 
    50