开发者

Building iPhone apps for the iPad

I searched firs开发者_运维技巧t, 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?


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.


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜