equal
deleted
inserted
replaced
50 nil]; |
50 nil]; |
51 self.controllerNames = array; |
51 self.controllerNames = array; |
52 [array release]; |
52 [array release]; |
53 |
53 |
54 // targetControllers tells whether we're on the right or left side of the splitview -- on iphone we only use the right side |
54 // targetControllers tells whether we're on the right or left side of the splitview -- on iphone we only use the right side |
55 if (targetController == nil && UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) { |
55 if (targetController == nil && IS_IPAD()) { |
56 if (nil == generalSettingsViewController) |
56 if (nil == generalSettingsViewController) |
57 generalSettingsViewController = [[GeneralSettingsViewController alloc] initWithStyle:UITableViewStyleGrouped]; |
57 generalSettingsViewController = [[GeneralSettingsViewController alloc] initWithStyle:UITableViewStyleGrouped]; |
58 generalSettingsViewController.navigationItem.hidesBackButton = YES; |
58 generalSettingsViewController.navigationItem.hidesBackButton = YES; |
59 [generalSettingsViewController viewWillAppear:YES]; |
59 [generalSettingsViewController viewWillAppear:YES]; |
60 [self.navigationController pushViewController:generalSettingsViewController animated:NO]; |
60 [self.navigationController pushViewController:generalSettingsViewController animated:NO]; |