如何将iPhone应用程序转换为iPad应用程序 [英] How to convert iPhone app to iPad app

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

问题描述

我是新手.我有一个iPhone应用程序.

I am a newbie. I have an iPhone app.

我想将iPhone应用程序转换为iPad应用程序.

I want to convert iPhone app to iPad app.

我想以编程方式根据ipad尺寸增加所有控件,图像和视图的大小,因为我在XIB中没有控件,但实际上它们是通过编程制作的.

I want to increase the size of all control, images and views according to ipad dimensions programmatically as I have no controls in XIB but infact they are programmatically made.

我不想在每个地方手动更改尺寸,因为这是一件繁琐的工作.

I dont want to change the dimensions manually at every place because it is too much of a cumbersome work.

有什么办法可以更好地做到这一点?

Is there any way I can do this in a more better way?

请帮助.

谢谢

推荐答案

简单的答案是否" .

您必须手动执行.没有自动系统.

You have to do it manually. There is no automatic system.

那是正确的答案.

如果您有一个绝对琐碎的应用-即没有图像,控件或布局!-您当然可以将其更改为iPad应用程序.

if you have an absolutely trivial app - ie, with no images or controls or layouts! - you can of course just change it to an iPad app.

发问者专门询问,如何在普通应用中更改所有图像,布局等.答案是必须全部手动完成.在Photoshop等中没有自动系统可以进行重新设计或重新执行图像.

The questioner is asking specifically how to change all the images, layouts, and so on in a normal app. The answer is it must all be done completely manually. There is no automatic system for re-doing design or re-doing images in Photoshop, etc.

请注意,类似地,如果您想同时做一个应用程序的纵向和横向布局,则您或您的设计师当然必须简单地设计这两种布局.可以说,没有人工智能"系统会自动为应用程序提供美术指导!您只需要手动设计两种布局,并在Photoshop中手动构建每种情况下的所有必要图像.iPad v.iPhone也是如此.

Note that similarly if you want to do both portrait and landscape layouts of an app, you or your designers have to of course simply design both layouts. There's no, say, "artificial intelligence" system that automatically does art direction for the app! You simply have to manually design both layouts and manually build in Photoshop all necessary images for each situation. The same applies to iPad v. iPhone.

(请注意,有时您必须为手机/平板电脑和人像/风景做四种完全不同的布局和图形集.)

(Note that sometimes you will have to do four totally different layouts, and sets of graphics .. for the phone/pad and portrait/landscape.)

这正是iPad应用有时在应用商店中标记为"HD"的原因-它们当然完全不同.

This is exactly why iPad apps are sometimes labelled "HD" in the app store - they are of course totally different.

这篇关于如何将iPhone应用程序转换为iPad应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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