- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad)
{
self = [super initWithNibName:@"ViewController_iPad" bundle:nibBundleOrNil];
if (self) {
// Custom initialization
}}
else
{
self = [super initWithNibName:@"ViewController_iPhone" bundle:nibBundleOrNil];
}
return self;
}
{
if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad)
{
self = [super initWithNibName:@"ViewController_iPad" bundle:nibBundleOrNil];
if (self) {
// Custom initialization
}}
else
{
self = [super initWithNibName:@"ViewController_iPhone" bundle:nibBundleOrNil];
}
return self;
}