THTinderNavigationController
THTinderNavigationController copied to clipboard
Push a UIViewController from THTinderNavigationController
Hey,
I am trying to push an UIViewController when I press a UIButton which is on one of the three main controller of THTinderNavigationController but it is not working, nothing is happening. Did you manage to do something like this? Or am I doing something wrong?
Here some code when I press the button
AppSettingsViewController *nextVC = [[UIStoryboard storyboardWithName:@"Main" bundle:[NSBundle mainBundle]] instantiateViewControllerWithIdentifier:@"AppSettingsViewController"];
dispatch_async(dispatch_get_main_queue(), ^{
[self.navigationController pushViewController:nextVC animated:YES];
});
However, when I present a UIViewController modally, I don't have any problems.
Cheers,
Thomas
+1 for a fix for this