Hi all,
I've a tableviewController in a class which I need to present modally from another class. In the modaltableview class, I'm creating tableview in viewDidLoad and apart from this there are tableView delegate methods in this class.
My question is how do I present this class object to show this tableViewController modally? I've presented the viewController from same class as:
UIViewController *vw = [[UIViewController alloc]init];
[self presentModalViewController:vw];
But what to write for a viewController from another class? Shall I call presentModalViewController from this class or the modaltableViewControler class?
P.S. I'm having a modalViewController already on the current viewController where I've to present the new modalTableView.
Thanx in advance.