Here is my problem.
I have ViewController
A (let's call it only A
).
I push from A
to B
, which is custom camera controller.
When I take picture, I present modally controller C
which has two buttons, one for confirm and one for going back.
If back button is tapped, it goes back to B
controller.
If confirm button is tapped, C
should trigger delegate method to A
, and then dismiss C
and B
, but without animation so dismissing B
won't be noticed.
Questions:
1. How to achieve the above described scenario? A
needs to be delegate to C
, so how to do that? Also should I use unwinding?
Reminder: A -> push -> B -> modal -> C