How can I dynamically create a view controller with a NIB file?
Thanks.
How can I dynamically create a view controller with a NIB file?
Thanks.
Still need help. I wanted to post what I was working on. I don't know the syntax for specifying what NIB one would like loaded.
Thanks.
OptionAController *otherVC = [[OptionAController alloc] init ????];
[self presentModalViewController otherVC animated:YES];
[otherVC release];
Use [[OptionAController alloc] initWithNibName:@"NameOfNIB" bundle:nil]
. You can find this method in Apple's UIViewController documentation.