Navigate to UITableViewController by selecting UITableView Cell
I'm Using UITableView without a navigation controller. My problem is, when
I click a particular cell, It doesn't push to another UIViewController.
Here is my code,
-(void)goToMyView
{
UIStoryboard *sb = [UIStoryboard storyboardWithName:@"Main" bundle:nil];
TOMenuViewController *vc = [sb
instantiateViewControllerWithIdentifier:@"MyViewController"];
[self.navigationController pushViewController:vc animated:YES];
}
How do I move to another view controller and come back from it.
No comments:
Post a Comment