project_files/HedgewarsMobile/Classes/AboutViewController.m
changeset 4115 222b8016c773
parent 4082 bfe14b38dad1
child 4460 bdace1e2f8aa
equal deleted inserted replaced
4114:b4c31cea013e 4115:222b8016c773
    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     if ([UITableView respondsToSelector:@selector(setBackgroundView:)])
    33     if ([self.tableView respondsToSelector:@selector(setBackgroundView:)])
    34         self.tableView.backgroundView = nil;
    34         self.tableView.backgroundView = nil;
    35     self.tableView.allowsSelection = NO;
    35     self.tableView.allowsSelection = NO;
    36 
    36 
    37     NSString *strPath = [NSString stringWithFormat:@"%@/credits.plist",IFRONTEND_DIRECTORY()];
    37     NSString *strPath = [NSString stringWithFormat:@"%@/credits.plist",IFRONTEND_DIRECTORY()];
    38     NSArray *array = [[NSArray alloc] initWithContentsOfFile:strPath];
    38     NSArray *array = [[NSArray alloc] initWithContentsOfFile:strPath];