project_files/HedgewarsMobile/Classes/AboutViewController.m
changeset 4082 bfe14b38dad1
parent 4030 adbb37b8c487
child 4115 222b8016c773
equal deleted inserted replaced
4081:d4cb8f216724 4082:bfe14b38dad1
    28 -(BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation) interfaceOrientation {
    28 -(BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation) interfaceOrientation {
    29     return rotationManager(interfaceOrientation);
    29     return rotationManager(interfaceOrientation);
    30 }
    30 }
    31 
    31 
    32 -(void) viewDidLoad {
    32 -(void) viewDidLoad {
    33     self.tableView.backgroundView = nil;
    33     if ([UITableView respondsToSelector:@selector(setBackgroundView:)])
       
    34         self.tableView.backgroundView = nil;
    34     self.tableView.allowsSelection = NO;
    35     self.tableView.allowsSelection = NO;
    35 
    36 
    36     NSString *strPath = [NSString stringWithFormat:@"%@/credits.plist",IFRONTEND_DIRECTORY()];
    37     NSString *strPath = [NSString stringWithFormat:@"%@/credits.plist",IFRONTEND_DIRECTORY()];
    37     NSArray *array = [[NSArray alloc] initWithContentsOfFile:strPath];
    38     NSArray *array = [[NSArray alloc] initWithContentsOfFile:strPath];
    38     self.people = array;
    39     self.people = array;