In Xcode, create a new XIV View file and open it in Interface Builder. In this xib file, delete the View and drag the UINavigationController into it.
Then, in your opinion, the controller code, something like
UINavigationController *controller = [[UINavigationController alloc] initWithNibName:@"ModalViewController" bundle:nil];
[self presentModalViewController:controller animated:YES];
[controller release];
Download your XIB and submit it.
Hope this helps, any other questions feel free to comment on this answer!
S
source
share