I'm searching if there is any way to present two or more controllers at once.
Something like with navigation controller: https://stackoverflow.com/a/28464115/5790492
But for modal controllers.
Now i just do presentViewController:animated:false
in first controller and another presentViewController:animated:true
in second controller. But get error:
Unbalanced calls to begin/end appearance transitions for
And I see first ViewController before animation of second. This is not pretty. It would be perfect if when i use method:
- (void)presentInController:(UIViewController *)current controllerA:(UIViewController *)controllerA controllerB:(UIViewController *)controllerB;
In the screen - there would be switching to controllerB with animation. And it would be possible to dismiss him to controllerA.