-1

Can anybody tell me the how to change the present iPhone app to support iPad?

MyController *controller = nil; if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) controller = [[MyController alloc] initWithNibName:@"MyiPadNib" bundle:nil]; else controller = [[MyController alloc] initWithNibName:@"MyiPodNib" bundle:nil]; [self.navigationController pushViewController:controller animated:YES]; 

I've tried this, what are the other changes I have to do?

1

1 Answer 1

1

Go to Target settings -> General -> Deployment info -> Devices -> change to Universal. Now you can able to run your application in iPad also.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.