iOS and xcode: how to give a segue a “storyboard id” so that I can programmatically manipulate it
问题 I am wanting to create a modal segue from a view controller to an a new view, but not by linking the segue action to a button or anything. Instead, I'd like to just set the segue up so that I can call it in pageDidLoad and have it automatically execute if I want. To do this, I need to be able to reference the segue, such as this: [self performSegueWithIdentifier:@"mySegue" sender: ...]; After I control-click-drag a connection in storyboard to create a segue, how can I give it a name for later