How to create a UIViewController layout in storyboard and then use it in code?
I have a Storyboard in my iOS 5 application. In there I have created a number of screens and it works perfectly. However there's one view controller that I create in code, not as a result of UI action but at the end of processing data. I would like to show this view controller then, as a modalViewController, but also have it designed in the storyboard editor. Is it possible? Using the nibs I did it like this: ResultsController *rc = [[ResultsController alloc] initWithNibName:@"ResultsController" bundle:nil]; [self.navigationController presentModalViewController:rc animated:YES]; [rc release];