更新iPad应用到普遍应用 [英] Update iPad application to universal application

查看:161
本文介绍了更新iPad应用到普遍应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我释放到AppStore的应用程序,它仅与iPad兼容。
我可以释放更新这个应用程序,这将是通用的?

If I release to appStore application which is compatible with iPad only. Can I release update to this application which will be universal (compatible with iPhone, iPod, iPad..)?

我只需要重建我的应用程序或我必须做更多的东西?

Do I need only to recreate my app or I must to do something more?

推荐答案

是的,你可以,我都做到了。

Yes you can, I have done it.

根据您如何使您的应用程序,xibs或故事板将决定你怎么做。

Depending on how you have made your app, xibs or Storyboards will determine how you do it.

有关故事板

如果打算从iPhone到iPad的:

If going from iPhone to iPad:


  1. 复制故事板将其重命名:MainStoryboard_iPhone.storyboard(包括.storyboard)

  1. Duplicate storyboard rename it: MainStoryboard_iPhone.storyboard (include .storyboard)

在X code:右键点击新的故事板 - >打开为 - >源$ C ​​$ C

Inside xCode: right click on the new storyboard -> "open as" -> "Source Code"

搜索接近顶部= iOS.CocoaTouch.iPad targetRuntime行并将其更改为 targetRuntime =iOS.CocoaTouch

Search for targetRuntime line near the top ="iOS.CocoaTouch.iPad"and change it to targetRuntime="iOS.CocoaTouch"

这将创建一个额外的iPhone故事板。在调整必要的新的故事板,以适应iPhone的屏幕稿/视图

This will create an additional iPhone storyboard. Adjust your artwork/views in the new storyboard as necessary to fit the iPhone screens

在摘要屏幕部署信息的主要情节板设置为分别为iPhone和iPad正确的故事板

Check in the summary screen that the deployment info Main Storyboard is set to the correct storyboards for iPhone and iPad respectively

提交的更新。

如果您使用xibs您可以复制,如果从iPhone将通用或iPad应用程序,不知道对xibs其他方式将其重命名〜iPad的

If your using xibs you can duplicate and rename them ~iPad if going from iPhone to universal or ipad app, not sure about the other way around for xibs

没有新的软件包ID需要

这篇关于更新iPad应用到普遍应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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