Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

chenks

macrumors 65816
Original poster
Oct 23, 2007
1,214
545
UK
i have an iphone app in the store, and although it does run on the ipad it just runs using the scaling method (ie not native ipad).

how do i convert the app so that it runs on iphone and ipad natively? (universal app i believe it's called).

the app was built using the following

Base SDK - iPhone Device 3.1.2
iPhone OS Deployment Target - iPhone OS 3.0

i assume that all the existing code will be fine, and that i just need to create an iPad specific interface in the interface builder ?

should also add that i do have the current "release" version of the SDK installed (not the beta version)
 
i have an iphone app in the store, and although it does run on the ipad it just runs using the scaling method (ie not native ipad).

how do i convert the app so that it runs on iphone and ipad natively? (universal app i believe it's called).

the app was built using the following

Base SDK - iPhone Device 3.1.2
iPhone OS Deployment Target - iPhone OS 3.0

i assume that all the existing code will be fine, and that i just need to create an iPad specific interface in the interface builder ?



Yes and no, no on the latter. A universal app needs two sections inside of it, one for running iPhone the other runs the iPad, So for instance if you have iPhoneViewController you will also have iPadViewController in there!

There is A LOT of info not only in the dev forums about how exactly to create these apps but also in the iPhone dev center there are a number of example universal apps where you can see the set up needed for such an App. Yes you can use all your old code, but, you have to totally redesign the interface, also for universals, you need 2 separate interfaces in the one App.

For your customers universal apps are great, 2 Apps for the price of one, but as a developer, it makes more sense to do 2 separate apps (in my opinion), because universal apps will be twice as big as iPhone apps, taking up much more space on an ipad or iphone that is not needed if your only running one device. Plus you as a dev will make twice the money if you make 2. Just some thought you should consider.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.