How to set the 5th Tab menu item (Tab Bar) to execute a method using its delegate like the following:
[map from:@"tt://joinGame" toObject:self selector:@selector(launchGame)];
or to go to the post controller directly if the Tab item is clicked
[map from:@"tt://suggest" toViewController:[TTPostController class]];
I tried the following but it didnt work:
- (void)viewDidLoad {
[self setTabURLs:[NSArray arrayWithObjects:@"tt://menu/1",
@"tt://menu/2",
@"tt://menu/3",
@"tt://suggest",
@"tt://joinGame",
nil]];
}
What to set the self.dataSource to in the MenuController since i dont want to show any tables and just want to execute either Post, Mail, or the app delegate?