tags:

views:

1437

answers:

3

I searched first, so apologies if it's already been asked.

I have a couple iPhone apps that I want to run as native iPad apps rather than in "mini-mode" for lack of a better term.

What do I need to change to build my app for the iPad and is it easy to target both platforms from the same project?

A: 

I know this isn't very helpful on a technical level, but...

The new iPad SDK site specifically mentions the term "Universal Applications" with the following:

Developers can now start planning for universal applications, allowing them to take full advantage of the technologies found on iPad, iPhone, and iPod touch with a single binary.

I know this doesn't explain ''how'' to take advantage of this idea, but I'm not quite willing to drop 100 dollars to learn more just yet.

But this does resolve your core goal, which is designing apps that can work nativly on both devices. With the a universal binary, you wouldn't need to worry about covering idiosyncrasies for two versions of one project unless you wanted device-specific features.

Anthony
+5  A: 

Yes, it's easy to target both platforms. If you login to ADC and read the iPad Programming Guide, it'll provide the basics for iPad specific development. I can't legally speak of the "how."

Um. If you follow their directions, build two targets, share your source within the same project... then you'll be set. It's the same SDK, just different Nibs & main(), from what I can tell.

Pestilence
When I build, I have to choose an Active Target to build for, either iPhone or iPad. Does that mean I'll need to provide two builds in order for iPad to, say, load the right nibs?
William
You can target both in the same build. XCode will handle everything for you. Give this a read: http://iphonedevelopment.blogspot.com/2010/04/converting-iphone-apps-to-universal.html
Pestilence
A: 

BigForge.com has a platform they use to develop iPhone/Pod/Pad apps. They will also sell a white label version to developers who want to build and market their own apps. This makes it a lot easier to build universal applications.

Mark