I have a universal application that works fine on the simulator but when I put it on an actual device (4S and 3rd generation iPad) the View controller interface ("EditNameViewControlleriPhone", ignore the fact iPhone is part of the name) appears only as the iPhone version even though I also have an iPad xib.
Here is a screen shot of how I named stuff:
A button in my SettingViewController brings up the EditName interface. Here is he code for that:
-(IBAction)editclass{
EditNameViewControlleriPhone*vc2 = [[EditNameViewControlleriPhone alloc] init];
vc2.delegate = self;
[self presentModalViewController:vc2 animated:YES];
}
-(void)dismiss{
[self dismissModalViewControllerAnimated:YES];
}
Is this code wrong or is there some naming convention that I'm missing or is it something else? Sorry if this is really simple -- I'm new to Xcode. Thanks