简体   繁体   English

iPhone VS ipad开发过程(异同)

[英]iPhone VS ipad development process (differences and similarities)

I am new to iOS development. 我是iOS开发的新手。 I am trying to figure out these things. 我试图弄清楚这些事情。

  1. A project both in iPhone and iPad. iPhone和iPad上的一个项目。 what things are same for both (coding, graphics or UI)? 两者有什么相同之处(编码,图形或UI)?
  2. Design Pattern of apps are same or different? 应用程序的设计模式是相同还是不同?

waiting for answer Thanks :) 等待答案谢谢:)

Personally, I find that the only real difference between the iPhone and the iPad is the UI and UX . 就个人而言,我发现iPhone和iPad之间唯一真正的区别是UIUX 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!) (实际上,如果您正在开发通用应用程序,则甚至可以重用很多代码!)

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. 与iPhone相比,iPad巨大,这种差异为您提供了更多的选择。

Another thing to note is that the iPad is usually done in landscape orientation, whereas the iPhone is done in portrait. 还要注意的另一件事是,iPad通常是横向放置,而iPhone是纵向放置。 This is not an absolute rule however, it's just the way I see it. 但是,这不是绝对的规则,这只是我的看法。

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. 这些设备之间的图形没有太大区别,只是由于屏幕尺寸较大,您可以对iPad图像比iPhone图像进行更详细的处理。 (Even with the retina display, too fine detail on the iPhone is barely noticeable.) (即使使用视网膜显示屏,iPhone上的细节也很少被注意到。)

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. 同样,由于iPad的屏幕大小,您可以在屏幕上容纳更多内容,因此不必频繁地推送到新视图。 I've worked on apps where we had 3 UIViewController 's for the iPhone version, and only 1 for the iPad version. 我开发了一些应用程序,其中iPhone版本有3个UIViewController ,而iPad版本只有1个。

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. 如果您有很多内容,并且想要一次全部显示,请使用iPad。 If you want a streamlined, minimal approach to your app, go for the iPhone. 如果您想要简化的应用程序,请使用iPhone。

Again, this is all just my personal opinion. 同样,这只是我个人的看法。 Hope that Helps! 希望对您有所帮助!

You can use native controls without much theming and customization on the iPhone. 您无需在iPhone上进行太多主题设置和自定义即可使用本机控件。 But iPad is a bigger beast. 但是iPad是更大的野兽。 Users use your iPad app for a longer time. 用户使用您的iPad应用的时间更长。 iPhone apps are used for a short stint and then closed, used again for a short stint and so on. iPhone应用程序用于短暂停留,然后关闭,再次用于短暂停留,依此类推。

Analytics published by Flurry showed that the average time an iPhone app is kept open is about 1.2 minutes. Flurry发布的分析结果显示,iPhone应用程序处于打开状态的平均时间约为1.2分钟。 Design and develop it in a way that data is available as fast as you can. 以尽可能快地获得数据的方式设计和开发它。

iPad apps are used in a relaxed setting. iPad应用在轻松的环境中使用。 While I don't have the numbers, it's probably used more often and for a longer time than an iPhone app. 虽然我没有这些数字,但它可能比iPhone应用程序使用频率更高,使用时间更长。 Themes and custom UI elements do matter a lot there 主题和自定义UI元素在那里很重要

Second, iPad apps need to be supported on all orientation (or at least a minimum of two orientations) 其次,需要在所有方向(至少至少两个方向)上支持iPad应用

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM