I have a view controller A that presents has a modal segue which presentes a UINavigationController
which has as root view controller another view controller B.
How to know the class of view controller A from view controller B?
Preferably using a delegate as a last resort.