Is it possible to check whether an identifier exists in a storyboard before instantiating the object?
问题 In my code I have this line, but I was wondering if there is way to check whether @"SomeController" exists before I use it with the " instantiateViewControllerWithIdentifier " method. If the identifier doesn't exist then the app crashes. It's not a huge problem if there isn't a good way to do it, I can just be a bit more careful not to fat finger the identifier names, but I was hoping I could handle it more gracefully. UIViewController *newTopViewController = [self.storyboard