I'm trying to use an unwind segue from a UINavigationController
subclass to a UIViewController
subclass. My issues arise arise (I believe) because my navigation controller is the root view controller of my UIWindow
. I attempted to set my UIViewController
as the root and then modally present the navigation controller before my AppDelegate
finishes launching, but that doesn't work because the view is not added to the hierarchy.
Any ideas?
EDIT: Is there anyway to attach a segue to the top view controller of the navigation controller? I have a fairly large storyboard and would like to avoid repeating myself on multiple controllers.