I want to load a nib that isn't a view in a UITabViewController. Here's what I have now and it isn't working, but it should give you an idea of what I want:
- (IBAction)PlaylistButtonPressed:(id)sender
{
MusicPick *music = [[MusicPick alloc] initWithNibName:@"MusicPick" bundle:nil];
[self.view addSubview:music.view];
[music release];
}
When you press a button in the view, the idea is to load another nib, MusicPick, that will load as a subview, pick something and come right back to here. Any help is appreciated, or new ideas.