I have a view that contains a ECSlidingView:
Bij clicking the '+' button, you enter another view, without the ECSlidingView:
Now, I would like to return to the first view once a user clicks on the 'Voeg Toe' button in the second view. I have tried using:
FoodViewController *myController = [self.storyboard instantiateViewControllerWithIdentifier:@"Voedingsdagboek"];
[self presentViewController:myController animated:YES completion:nil];
However, now the ECSlider does not work anymore. So I cannot navigate through the rest of the application. How can I solve this?
Eventually I fixed it by using:
self.slidingViewController.topViewController = [self.storyboard instantiateViewControllerWithIdentifier:@"Voedingsdagboek"];
[self.presentingViewController dismissViewControllerAnimated:YES completion:nil];