相同的应用程序的iPhone和iPad而不是通用? [英] Same app for iphone and ipad but not Universal?

查看:201
本文介绍了相同的应用程序的iPhone和iPad而不是通用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经为iPhone设备开发了一个应用程序,我也想为iPad设备编写它。我不想创建通用应用程序。我希望每个类型都被视为appstore中的不同应用。

I have developed an application for the iPhone devices and I want to also write it for iPad devices. I do NOT want to create a Universal App. I want each type to be treated as a different app in the appstore.

我正在使用xcode 4

I am using xcode 4

任何人都可以指导我一个好的文档/教程,因为我在这个问题上找不到太多。

Can anyone guide me to a good doc/tutorial as I didn't find much on this issue.

我应该创建一个新项目吗?我可以使用现有代码吗?

should I create a new project ? Can I use the existing code ?

谢谢

推荐答案

您只需创建一个新目标您现有的项目并更改其目标设备。

You just need to create a new target in your existing project and change its target device.

我建议确保所有构建设置(目标设备除外)都设置在项目中,而不是目标设置。您必须确保在两个目标中包含所有资源和代码。

I suggest ensuring that all your build settings (except for target device) are set at the project, not target, level. You'll have to ensure that you include all resources and code in both targets.

这篇关于相同的应用程序的iPhone和iPad而不是通用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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