Can someone tell me how to get an UIView controller that it was created before?, I am using storyboard and I have read apple documentation about the method instantiateViewControllerWithIdentifier: but this doc says that everytime I call this method it creates a new instance of the ViewController and what I want is to use the existing one.
Im looking for a UIViewController singleton on storyboard. Is it possible?
Thanks in advance!!
If you only call
instantiateViewControllerWithIdentifier:once and then save the result as a strong property somewhere for re-use then you will only be creating it once.