How will the new iPhone screen sizes affect iOS developers?

随着iPhone 6和6 Plus的推出,iOS开发者面临新的挑战:如何为不同尺寸的屏幕进行适配。此前,iOS应用设计通常针对特定设备进行优化,而Android开发者则早已习惯于应对多种屏幕尺寸。iPhone 6系列引入了更大的屏幕尺寸,要求开发者调整设计以适应这些变化,特别是在图标和UI元素上需要支持不同的像素密度。

Apple may have challenged iPhone developers to figure out how best to support the different screen dimensions of the new iPhone 6 and 6 Plus, something that Android developers have been doing for years.

Pixel-perfect screen designs have been a trademark of native iOS development from day one. A tradition that with the introduction of new iPhone screen sizes may have to give way to adaptive screen design across the platform. Native iOS developers tend to cater to specific devices mores than mobile web and Android developers. But when the number of variances in screen sizes gets out of control, all you can do is gravitate more towards an adaptive or responsive approach in your app’s design. Prior to the iPhone 6, there have been very few screen size differences to contend with in the iOS world compared to Android.

It is the iPhone 4S that is irregular, not the iPhone 6 Plus

When looking at the screen dimensions for each of the different iPhone models supported by iOS 8, only the iPhone 4S supports a 3:2 aspect ratio. The iPhone 5, 5C, 5S as well as the new iPhone 6 and the iPhone 6 Plus all support a 16:9 aspect ratio. Moving from the iPhone 4 to the iPhone 5, Apple kept the pixel width of the different screens constant at 640. It was the pixel height that changed from 960 to 1136, which transitioned the iPhone from a 3:2 ratio to 16:9. With the iPhone 6 and the iPhone 6 Plus, both the width and the height changed keeping the aspect ratio fixed at 16:9 across all iOS 8 supported iPhones, except the iPhone 4S.

iPhone Aspect Ratios

The shorter dimensions of the iPhone 4S compared to the other iOS 8 supported iPhones makes it more difficult to support when it comes to screen design. Simply put, designs don’t scale well when crossing over to a different aspect ratio. But this is not a new challenge for iOS developers to contend with; this has been a part of iOS 7 development all along. As a result, there are still some iOS 6 apps out there that do not conform to the 16:9 screen dimensions of the iPhone 5 and center themselves on the screen, leaving blank black bars of dead space across the top and bottom of the device.

The good news about the screen dimensions on both the iPhone 6 and 6 Plus is that all of the effort put into redesigning apps to take full advantage of the iPhone 5 screen size will, for the most part, scale nicely on both the iPhone 6 and the iPhone 6 Plus.

Designing screens specific to a device

Out of the gate, Apple has made every effort to keep apps that were specifically redesigned in iOS 7 for the iPhone 5, 5C and 5S to look as good as possible in iOS 8 on the iPhone 6 and 6 Plus. The auto-scaling capabilities built into iOS will look better than the letter-boxing effect app owners had to deal with as developers redesigned their screens from the 3:2 aspect ratio inherent to the iPhone 4 and 4S to the taller, more slender 16:9 ratio of the iPhone 5. Meaning, if you buy a device with a larger screen, you will actually get to use the larger screen.

iPhone Device Sizes

That does not mean that similar to the “Designed for iPhone 5” app updates of 2012 and 2013 we will not start seeing “Designed for iPhone 6” updates to our favorite apps. There is more screen real-estate to potentially design for. In particular, icons, graphics and other UI elements will now need to support the @1x, @2x and the recently introduces @3x pixel sizes, otherwise things might start to look a bit blurry. Mostly iOS developers will have to learn to take advantage of some of the new Adaptive Layout features in iOS and keep their screen designs more flexible rather than pixel perfect. Designing apps that adapt will likely be the standard for apps targeting the iPhone 5 and iPhone 6 screen sizes, but the iPhone 6 Plus may prove to be a bit more of a challenge.

What is likely to prompt developers to redesign some of your favorite iPhone apps will be the changes introduced by the iPhone 6 Plus and its enhanced support for landscape mode. Many iPhone specific apps lock their orientation to portrait mode. You may have noticed that these particular apps do not rotate when you told your screen. This is primarily because in many scenarios on the iPhone, landscape mode just does not have enough space to design a decent app.

iPhone 6 Plus Landscape

With the iPhone 6 Plus’s larger screen, Apple has started supporting the home screen in landscape mode as well as a more iPad-like split view for iPhone 6 Plus apps. This will likely require some major updates to customize the user experience on the iPhone 6 Plus, especially when designing app extensions. The time it will take to redesign portrait-only screen layouts of an iPhone only app could equal that of transition to a universal app that also supports the iPad.

So how does Android handle it?

While supporting a wider variety of screen sizes may be new to iPhone developers, it certainly is not new to Android developers. The latest information from Open Signal shows that as a platform, Android has become increasingly more fragmented each year when it comes to the number of manufactures, different devices, OS versions and variances in screen sizes. There were 18,796 distinct Android devices this year compared to 11,868 last year and only 3,997 in 2012. Keeping track of all of the different screen resolutions on Android can in itself be a full-time occupation.

Android Screen Sizes

An interesting dynamic that was added to Open Signal’s analysis of the fragmentation data this year was the discovery of a correlation between the market share of the top five devices in a give market segment and that country’s gross national product per capita (GDP/Capita). The data shows that the higher the GDP/Capita, the less fragmentation there is in that country. As an example, here in the U.S. the top five Android devices represent forty-five percent of the market. That drastically cuts down on the number of devices one has to consider supporting compared to Madagascar where the top five devices represent only eight percent of the overall Android market.

Apple may have just introduced a third category for asset densities within in an iPhone project (@3x), in contrast Android supports six generalized screen densities (dpi, mdpi, hdpi, xhdpi, xxhdpi, and xxxhdpi). The goal for Android developers is to achieve what is referred to as density independence, basically avoiding situations that make graphics, buttons and icons appear oversized on different screens.  And that’s a situation that iPhone developers will now have to contend with.

Related research

Subscriber Content
Sep. 13, 2014 - 9:00 AM PDT
转自:https://gigaom.com/2014/09/13/how-will-the-new-iphone-screen-sizes-affect-ios-developers/
带开环升压转换器和逆变器的太阳能光伏系统 太阳能光伏系统驱动开环升压转换器和SPWM逆变器提供波形稳定、设计简单的交流电的模型 Simulink模型展示了一个完整的基于太阳能光伏的直流到交流电力转换系统,该系统由简单、透明、易于理解的模块构建而成。该系统从配置为提供真实直流输出电压的光伏阵列开始,然后由开环DC-DC升压转换器进行处理。升压转换器将光伏电压提高到适合为单相全桥逆变器供电的稳定直流链路电平。 逆变器使用正弦PWM(SPWM)开关来产生干净的交流输出波形,使该模型成为研究直流-交流转换基本操作的理想选择。该设计避免了闭环和MPPT的复杂性,使用户能够专注于光伏接口、升压转换和逆变器开关的核心概念。 此模型包含的主要功能: •太阳能光伏阵列在标准条件下产生~200V电压 •具有固定占空比操作的开环升压转换器 •直流链路电容器,用于平滑和稳定转换器输出 •单相全桥SPWM逆变器 •交流负载,用于观察实际输出行为 •显示光伏电压、升压输出、直流链路电压、逆变器交流波形和负载电流的组织良好的范围 •完全可编辑的结构,适合分析、实验和扩展 该模型旨在为太阳能直流-交流转换提供一个干净高效的仿真框架。布局简单明了,允许用户快速了解信号流,检查各个阶段,并根据需要修改参数。 系统架构有意保持模块化,因此可以轻松扩展,例如通过添加MPPT、动态负载行为、闭环升压控制或并网逆变器概念。该模型为进一步开发或整合到更大的可再生能源模拟中奠定了坚实的基础。
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值