So, in my code, I have a tab bar controller. When you click one of the tabs, it calls this code to open a new storyboard (for capturing video).
NavController *NC = [[NavController alloc] initWithCaptureInput];
[self presentViewController:NC animated:YES completion:nil];
In this view, he records a video, and then the storyboard represents the shogu. From this point of view, the user can view his video. When he presses the button, the storyboard pushes him to the next look.
In this last view, I use to call this in iOS 7 so that the application returns to its original form (before the current storyboard).
[self.presentingViewController.presentingViewController dismissViewControllerAnimated:YES completion:nil];
This worked fine, but in iOS 8 the top view is disabled, and during the animation you see a video preview view. Its only when the animation is complete that the preview video view is deleted (as it should be).
Can someone tell me how I can have my own animation when the top view is removed and during the animation you see only the initial view? This can be done if the application had to delete all the views at the same time (animate them at the same time).
source
share