iPhone VS ipad开发流程(差异和相似之处) [英] iPhone VS ipad development process (differences and similarities)

查看:148
本文介绍了iPhone VS ipad开发流程(差异和相似之处)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是iOS开发的新手。我想弄清楚这些事情。

I am new to iOS development. I am trying to figure out these things.


  1. iPhone和iPad上的项目。两者(编码,图形或UI)的相同之处是什么?

  2. 应用程序的设计模式是相同还是不同?

等待回答
谢谢:)

waiting for answer Thanks :)

推荐答案

就我个人而言,我发现唯一真实的iPhone和iPad之间的差异是 UI UX 。两个应用程序的大多数代码都是相同的。 (事实上​​,如果您正在使用通用应用程序,您甚至可以重复使用大量代码!)

Personally, I find that the only real difference between the iPhone and the iPad is the UI and UX. Most of the code is the same for both applications. (In fact, you can even reuse a lot of code if you are doing a universal app!)

主要区别在于屏幕大小。与iPhone相比,iPad相当庞大,这种差异为您提供了更多选择。

The main difference really is the screen size. The iPad is huge in comparison to the iPhone, and this difference gives you a lot more options to work with.

需要注意的另一件事是iPad通常是在横向定位,而iPhone是纵向完成的。这不是一个绝对的规则,但它只是我看到的方式。

Another thing to note is that the iPad is usually done in landscape orientation, whereas the iPhone is done in portrait. This is not an absolute rule however, it's just the way I see it.

设备之间的图形差别不大,只是因为屏幕尺寸较大,你可以用iPad图像然后iPhone图像做更详细的工作。 (即使使用视网膜显示屏,iPhone上的细节也不太明显。)

The graphics aren't too different between the devices, except that because of the large screen size, you can do a bit more detailed work with the iPad images then the iPhone images. (Even with the retina display, too fine detail on the iPhone is barely noticeable.)

我想提到的另一件事是设备的流动。同样,由于iPad的屏幕尺寸,您可以在屏幕上显示更多内容,因此不得不频繁地推送到新视图。我已经开发过应用程序,我们为iPhone版本提供了3 UIViewController ,而iPad版本只有1个。

The other thing I wanted to mention is the flow of the devices. Again, because of the screen size of the iPad, you can fit a lot more content on the screen, and therefore have to push to new views less frequently. I've worked on apps where we had 3 UIViewController's for the iPhone version, and only 1 for the iPad version.

简而言之,这取决于您的应用类型。如果您有很多内容,并希望一次显示所有内容,请转到iPad。如果你想要一个简化的,最小化的应用程序方法,去iPhone。

In short, it depends really on your type of app. If you have a lot of content, and want to display it all at once, go for the iPad. If you want a streamlined, minimal approach to your app, go for the iPhone.

再次,这只是我个人的意见。希望有帮助!

Again, this is all just my personal opinion. Hope that Helps!

这篇关于iPhone VS ipad开发流程(差异和相似之处)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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