THTinderNavigationController icon indicating copy to clipboard operation
THTinderNavigationController copied to clipboard

Push a UIViewController from THTinderNavigationController

Open carayolthomas opened this issue 10 years ago • 1 comments

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

carayolthomas avatar Jan 29 '15 07:01 carayolthomas

+1 for a fix for this

harkmall avatar May 12 '15 22:05 harkmall