project_files/HedgewarsMobile/Classes/SchemeWeaponConfigViewController.m
changeset 3917 4c243b1eac97
parent 3829 81db3c85784b
child 3952 d6412423da45
equal deleted inserted replaced
3916:e7d665a4ef42 3917:4c243b1eac97
    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 = @"";
    41     self.selectedScheme = @"";
    42     self.selectedWeapon = @"";
    42     self.selectedWeapon = @"";
    43 
    43 
    44     if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) {
    44     [self.tableView setBackgroundView:nil];
    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;
       
    48     }
       
    49     self.tableView.separatorStyle = UITableViewCellSeparatorStyleNone;
    47     self.tableView.separatorStyle = UITableViewCellSeparatorStyleNone;
    50 }
    48 }
    51 
    49 
    52 -(void) viewWillAppear:(BOOL) animated {
    50 -(void) viewWillAppear:(BOOL) animated {
    53     [super viewWillAppear:animated];
    51     [super viewWillAppear:animated];