I have a login screen which redirects to home page after a successful login.
I redirect like this:
ViewController *viewController = [[UIStoryboard storyboardWithName:@"MainStoryboard_iPhone" bundle:nil] instantiateViewControllerWithIdentifier:@"main"];
[self presentModalViewController:viewController animated:YES];
and the redirection happens, and the home screen loads, but the buttons on it no longer respond to clicks, and the nav area is missing.
I am using push segues.
Would anyone know why this sort of thing happens? Also, right now I am using push segueys, but should I be using a modal seguey?
My functionality is: do some logic on one screen, go to the next screen.