Use a View controller multiple times in navigation controller in iOS

I am new in iOS, I am creating a app much like twitter, I am using Storyboard for it. In this app i have a View controller class which shows the user Detail and their feeds like received messages, On click on message user can see message sender profile detail on another View controller i am using navigation controller push segue to go from user profile to message sender profile.

I want to Open further message sender profile on second View Controller on click of message

Like from A -> B -> C -> D -> E and so on.., same as like Facebook or twitter so that the go back order is also same in navigation controller.


The navigation controller works as a stack, it is automatically adjusted to work the way you need.

Add navigation controllers like this:

UIViewController *bbp=[[UIViewController alloc]initWithNibName:@"UIViewController" bundle:nil];
UINavigationController *passcodeNavigationController = [[UINavigationController alloc] initWithRootViewController:bbp];
  [self.navigationController pushViewController:passcodeNavigationController animated:YES];
  [passcodeNavigationController release];

Go through apple docs to get a clear idea:

Need Your Help

Hiding a subview from another method

iphone ios methods hidden subview

Currently I'm using the following line to add a method's view as a subview to another view inside a method.

selected date not showing on date picker cell

javascript jquery datepicker

We are trying to put HTML content on jquery date picker cell. We did that but its not working correctly, When we select that day, Then text box is showing NAN.