如何在iPhone / iPad中创建通用应用程序? [英] How to create Universal apps in iPhone/iPad?

查看:105
本文介绍了如何在iPhone / iPad中创建通用应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想创建一个通用应用程序。我已经为iPhone做了一些应用程序。现在我想开始一个通用的应用程序,这意味着该应用程序应该在iPhone和iPad上运行。我对此一无所知。所以请指导我并给我一些示例链接。

I want to create a universal apps. I have already done some apps for iPhone. Now i want to start a universal apps which means the app should be runs in iPhone and iPad. I don't have any idea about that. So please guide me and give me some sample links for that.

谢谢!

推荐答案

这比你想象的容易。

如果UI是你唯一的区别,你只需要为每个平台提供不同的XIB。然后你配置plist文件,你在每个平台上加载哪个XIB。

If UI is your only difference, you just need to have different XIBs for each platform. Then you configure in plist files, which XIB you'd load on each platform.

这个链接对我有很大帮助 http://www.weston-fl.com/blog/?p=563

This link helped me a lot http://www.weston-fl.com/blog/?p=563

这篇关于如何在iPhone / iPad中创建通用应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆