Doug Smith Doug Smith -3 years ago 148
iOS Question

How do I give an "identifier" to a view controller within my storyboard?


method requires that the view controller I pass have an identifier. I went to my storyboard and clicked on my view controller, but I see no option to set the identifier. Where exactly do I find this option?

Answer Source

As the Image suggests! Hope it helps!

enter image description here

Then to use it you call:

[self.storyboard instantiateViewControllerWithIdentifier:@"YourViewControllerID"];
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download