I have a UINavigationController that pushes a view controller 3 levels down. I am trying to access the story board from the third UIViewController and I can’t. Is there a global way in which I can access the storyboard from any UIViewController?
I have a UINavigationController that pushes a view controller 3 levels down. I am
Share
You should be able to access the current storyboard through the
storyboardproperty of any View controller. Ex.:EDIT
In the event that
self.storyboardis not set for some reason, you can always get the storyboard by calling