I have 4 views which contains a segue(it sends data from a json and store it in a variable called email) which i'm passing it like this:
A -> B(email) -> C(email)
... -> B(email) -> D(email)
So what i want to do is send back the information of the segue to:
C-> B
D-> B
Any idea how can i achieve this?
I think you're after an unwind segue.
To quote the docs:
...use the segue object to fetch the view controller being dismissed so that you can retrieve data from it.
Please see Creating an Unwind Segue on the View Controller Programming Guide for iOS.