I have a modal view controller that was presented like so:
[self presentViewController:photo animated:YES completion:nil];
Thus photo is a modal view controller, but when its done I want to push to a navigation view controller like so:
[self dismissViewControllerAnimated:NO completion:^{
// UINavigationController *nav = [[UINavigationController alloc] init];
//nav.delegate = self;
ProfilesViewController *profile = [[ProfilesViewController alloc] init];
[_nav pushViewController:profile animated:YES];
}];
nav is a property in the photo's view controller that also has delegation. Still isn't working so what am I missing?