Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Push a UIViewController from THTinderNavigationController #12

Open
carayolthomas opened this issue Jan 29, 2015 · 1 comment
Open

Push a UIViewController from THTinderNavigationController #12

carayolthomas opened this issue Jan 29, 2015 · 1 comment

Comments

@carayolthomas
Copy link

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

@harkmall
Copy link

+1 for a fix for this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants