I want to Push
my viewController on PresentViewController
When i click on button initially i am loading PresentViewController
, here is my code.
- (IBAction)JoinClicked:(id)sender{
JoinWithViewController *detail_view_controller = [[JoinWithViewController alloc] initWithNibName:@"JoinWithViewController" bundle:nil];
[self.view.window.rootViewController presentViewController:detail_view_controller
animated:YES
completion:NULL];
}
this works fine, but when i click on button which is there on PresentViewController
on click i want to Push my view, but in does not pushes.
Please help, Thanks in advance.