leon4ic
leon4ic

Reputation: 349

convert iPhone app to universal app

I want to convert my iPhone app into universal application. So, what I've done is simply duplicated target into iPad target and created nibs for iPad, also I've specified the type of app as universal. But when I run my new created target it loads only iPad nibs. So, how can I make my app to load necessary nibs? Thanks in advance!

Upvotes: 0

Views: 1425

Answers (2)

Jenny Cheung
Jenny Cheung

Reputation: 301

Just select target, then select general. In Deployment Info, select Universal instead of iPhone, like the pic below. enter image description here

Upvotes: 0

dasdom
dasdom

Reputation: 14063

Don't copy the target. Set the Device of your target to Universal and add code to load the nibs depending on the device your app is running on. More on that you can find here.

Upvotes: 3

Related Questions