I've been trying to incorporate the new segue action functionality to communicate data between two view controllers. Unfortunately, the destination view controller is wrapped in a UINavigationController, which means that I have to return a UINavigationController. I've tried several different ways to pass data through the Navigation Controller to the root view controller(destination VC):
- use the segue identifer and/or the sender to get the navigation controller's root VC and set the data manually
- trying to access the destination VC directly
- create an instance of a nav controller, set the root VC to an instance of the destination VC
If you've figured this out, I would appreciate some insight on how you did it! Thanks.