I am hoping someone can help me. I am new to iPhone development and have a problem that is probably pretty simple.
If you have a .xib file with two views how do you specify a view to load? From the main screen I have two buttons one is to call one view the other to call the other view from the .xib file. When I make the call it is loading the view that is connected with the Files's Owner view.
Any help would be appreciated...Thank you..
If you have a .xib file with two views how do you specify a view to load? From the main screen I have two buttons one is to call one view the other to call the other view from the .xib file. When I make the call it is loading the view that is connected with the Files's Owner view.
Code:
- (IBAction)switchLFamilies:(id)sender
{
SecondSwapeViewController *familiesL = [[SecondSwapeViewController alloc] initWithNibName:nil bundle:nil];
familiesL.modalTransitionStyle = UIModalTransitionStyleCrossDissolve;
[self presentModalViewController:familiesL animated:YES];
}
Any help would be appreciated...Thank you..