project_files/HedgewarsMobile/Classes/TeamConfigViewController.m
changeset 4082 bfe14b38dad1
parent 3983 aa24192417a8
child 4115 222b8016c773
--- a/project_files/HedgewarsMobile/Classes/TeamConfigViewController.m	Mon Nov 01 13:02:39 2010 -0400
+++ b/project_files/HedgewarsMobile/Classes/TeamConfigViewController.m	Mon Nov 01 18:51:38 2010 +0100
@@ -38,8 +38,9 @@
 
     CGSize screenSize = [[UIScreen mainScreen] bounds].size;
     self.view.frame = CGRectMake(0, 0, screenSize.height, screenSize.width - 44);
-    
-    [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;