project_files/HedgewarsMobile/Classes/SchemeWeaponConfigViewController.m
changeset 4082 bfe14b38dad1
parent 3983 aa24192417a8
child 4115 222b8016c773
--- a/project_files/HedgewarsMobile/Classes/SchemeWeaponConfigViewController.m	Mon Nov 01 13:02:39 2010 -0400
+++ b/project_files/HedgewarsMobile/Classes/SchemeWeaponConfigViewController.m	Mon Nov 01 18:51:38 2010 +0100
@@ -41,7 +41,8 @@
     self.selectedScheme = nil;
     self.selectedWeapon = nil;
 
-    [self.tableView setBackgroundView:nil];
+    if ([UITableView respondsToSelector:@selector(setBackgroundView:)])
+         [self.tableView setBackgroundView:nil];
     self.view.backgroundColor = [UIColor clearColor];
     self.tableView.separatorColor = UICOLOR_HW_YELLOW_BODER;
     self.tableView.separatorStyle = UITableViewCellSeparatorStyleNone;