iPhone X 苹果官方人机交互指南 手动翻译

苹果的发布会在昨晚举行,新的iPhoneX具体的分辨率、适配风格大家可能有一些疑惑,下面是摘自苹果人机交互指引页面对iPhoneX的介绍,大家可以先了解一下

iPhone X概览

iPhone X拥有一块超视网膜、5.8英寸,1125 × 2436分辨率的圆角全面屏,可以为用户呈现前所未有的视觉体验

这里写图片描述

屏幕尺寸 Screen Size

在竖屏模式下,iPhone X的屏幕宽度比例实际上与4.7寸的iPhone 6、7和8相对应,均可以用375个像素来表示宽度比例(iPhone X的屏幕宽度实际分辨率为375px x 3 = 1125px)。然而iPhone X的屏幕高度比4.7寸的iPhone 6等设备的屏幕高度多了145个像素,所以iPhone X相比4.7寸的iPhone 6等设备,可以多显示20%的额外内容

这里写图片描述

横屏尺寸Portrait dimensions 竖屏尺寸Landscape dimensions
1125px × 2436px (375pt × 812pt @3x) 2436px × 1125px (812pt × 375pt @3x)
为了能够让应用图片在iPhone X上的显示清晰,最好使用@3x的切图(和5.5寸的Plus机型相同),对于文字和其他矢量图形,可以提供与分辨率无关的PDF格式,对于其他切图,尽管iPhone X和Plus机型都可以调用@2x的切图,然而@3x的切图会达到最好的显示效果,其他可以参阅图像大小和分辨率自定义图标

布局 Layout

在设计iPhone X的应用布局时,你必须确保布局元素填满屏幕,并且不会被屏幕的圆角,顶部刘海或下方主屏幕按钮所遮蔽。

这里写图片描述

大多数使用系统提供的UI元素(如UINavigationBar,UItableView和UICollectionView)的应用程序会在iPhone X上自适应。 系统控件(如UINavigationBar和UITabBar)会自动延伸到屏幕的边缘,并且UITableView、UICollectionView等元素会继续填充到屏幕区域上。

这里写图片描述

这里写图片描述

对于自动布局的应用,适配到iPhone X上也是比较简单的,特别是你的应用使用了Auto Layout。

在iPhone X上预览你的应用 你可以用Xcode自带的模拟器程序来检查应用在iPhone X上的适配问题。 但是另外一些功能,比如广色域图像的现实问题,最好在实际设备上预览。——这是由于新的iPhone X支持的色域可能比开发者当前使用的电脑屏幕的色域更高,从而导致一些颜色在模拟器上显示可能达不到真机的显示效果。

留意新的iPhone X的全面屏 确保背景视图要完整的填充在整个屏幕上,并且额外增加的底部控件高度(UITabBar等)不会影响到UITableView、UICollectionView正常滚动到最底部。

这里写图片描述

在安全区内绘制控件 通常来说,UI内容应该是居中对称进行布局的,这样不会被边角或顶部刘海,或底部的系统按钮所遮盖。 为获得最佳效果,请使用标准的系统提供的界面元素和Auto Layout构建您的界面。 所有应用程序都应遵循UIKit定义的安全区域(Safe are)和布局边距(Margin),这些区域可以根据屏幕宽高和上下文布局进行适当的填充。 在安全区域内还可以防止UI内容覆盖UIStatusBar,UINavigationBar,UIToorBar和UITabBar。

留意状态栏的高度 iPhone X的状态栏比之前所有的iPhone都要高,如果你的应用程序以前设置的是某个UI控件在状态栏之下,而把这个UI控件的Y值设置为20的时候,你就必须更新你的应用里的UI控件的状态了,要使其变成根据用户使用的设备来修改UI内容的Y值(iPhone X的状态栏高度为44,其他iPhone的状态栏高度都是20)。

另外还有一点要注意:当录音和地理位置追踪这样的应用在后台执行时,iPhone X上的状态栏不会因此下移,而其他iPhone是会将整体页面下移的。
如果你的应用当前是隐藏状态栏的话,那么要重新考虑在iPhone X上的效果. iPhone X尽管相对于4.7寸的iPhone提供了更多的顶部状态栏控件,然而由于顶部传感器的存在,使得顶部的状态栏区域并不能完整的显示出你所需要的内容,而且状态栏显示了很多重要的信息,所以仔细考虑是否非常需要这部分空间,再考虑隐藏状态栏。

这里写图片描述

这里写图片描述

在复用原有比例的图片时,注意长宽比差异 iPhone X相比4.7英寸的iPhone有不同的长宽比,结果是,4.7寸上显示完整的图片在iPhone X上显示时会出现被裁剪,或上下边框显示的效果(比较类似于iPhone 4S的图片于iPhone 5上),同样的,在iPhone X上显示完整的图片同样会被裁剪或出现左右边框显示的效果(iPhone 5上的图片于iPhone 4S上)。所以确保重要的图片不要显示在可能会被裁剪的地方。

避免将按钮等交互式控件放置在最底部或屏幕角落 大家会使用屏幕底部的滑动手势访问主屏幕和应用切换,而开发者在底部放置的按钮等控件很可能会被底部滑动手势所覆盖;而屏幕角落则是非常难点击的区域,所以尽量避免在此展示交互式控件。

不要遮盖或特别注意关键显示功能。 请勿使用黑条遮盖的方式来隐藏或遮盖屏幕边框的圆角或底部的系统功能按钮,也不要用括号,边框,形状或教学文字等特殊字符来引导用户对这些系统功能区的特别关注。

有限制的允许隐藏回到主页的虚拟按键(虚拟home键). 当自动隐藏虚拟Home键生效时,虚拟home键会在用户不触碰屏幕的几秒后隐藏掉,当用户触碰屏幕的时候,虚拟home键会显示出来。这个功能可以让用户在浏览照片或视频时不被遮挡视线,但是该功能应该只用于提升用户的观看体验而不应该被主动触发。

请参阅适应性和布局

屏幕色彩 Color

iPhone X上的屏幕支持P3广色域显示,可以产生比sRGB色域更丰富,更饱和的颜色。

可以使用P3色域来增强视觉体验。 使照片和视频的显示更加逼真,并使图表等数据更具有冲击力。 详情请参阅颜色管理

这里写图片描述

手势 Gestures

在iPhone X上,可以使用屏幕边缘手势来访问主屏幕,切换应用,访问通知中心和控制中心。

避免干扰系统范围的屏幕边缘手势。人们依靠这些系统手势来进行回到主页等功能。但是在极少数情况下,像游戏这样的全屏应用可能需要自定义的屏幕边缘手势,这会造成优先于系统的手势而执行 - 第一个滑动会首先调用开发者在游戏中设置的操作,而第二次滑动则会调用系统手势。 这种行为(称为边缘保护)应该谨慎实施,因为它使得用户难以访问系统操作手势。 详情见手势
额外的设计注意事项 Additional Design Considerations

区分不同的身份认证方式。 iPhone X支持面部识别(Face ID)用于解锁手机以及身份验证,如果你的应用整合了Apple Pay或其他的系统身份验证功能,请勿在iPhone X上使用Touch ID,同样的,请确保在其他支持Touch ID的设备上不调用Face ID。详情见身份认证

不要复用系统提供的键盘。 在iPhone X上,即使使用自定义键盘,Emoji表情和听写功能按钮也自动显示在键盘的下方。 您的应用程序不能占据这些按钮的位置,因此避免在键盘中重复这些按钮,以免造成混乱。 详情请参阅自定义键盘
资源 Resources

你可以在这里下载到iPhone X的UI设计模板,Photoshop和Sketch适用,详情参阅资源

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Introduction Introduction 9 At a Glance 9 Great iOS Apps Embrace the Platform and HI Design Principles 9 Great App Design Begins with Some Clear Definitions 10 A Great User Experience Is Rooted in Your Attention to Detail 10 People Expect to Find iOS Technologies in the Apps They Use 10 All Apps Need at Least Some Custom Artwork 11 Chapter 1 Platform Characteristics 13 The Display Is Paramount, Regardless of Its Size 13 Device Orientation Can Change 14 Apps Respond to Gestures, Not Clicks 14 People Interact with One App at a Time 15 Preferences Are Available in Settings 16 Onscreen User Help Is Minimal 16 Most iOS Apps Have a Single Window 17 Two Types of Software Run in iOS 17 Safari on iOS Provides the Web Interface 18 Chapter 2 Human Interface Principles 21 Aesthetic Integrity 21 Consistency 21 Direct Manipulation 22 Feedback 22 Metaphors 22 User Control 23 Chapter 3 App Design Strategies 25 Create an Application Definition Statement 25 1. List All the Features You Think Users Might Like 25 2. Determine Who Your Users Are 26 3. Filter the Feature List Through the Audience Definition 26 4. Don’t Stop There 26 Design the App for the Device 27 Embrace iOS UI Paradigms 27 Ensure that Universal Apps Run Well on Both iPhone and iPad 28 Reconsider Web-Based Designs 28 Tailor Customization to the Task 29 Prototype and Iterate 31 Chapter 4 Case Studies: Transitioning to iOS 33 From Mail on the Desktop to Mail on iPhone 33 From Keynote on the Desktop to Keynote on iPad 35 From Mail on iPhone to Mail on iPad 38 From a Desktop Browser to Safari on iOS 41 Chapter 5 User Experience Guidelines 47 Focus on the Primary Task 47 Elevate the Content that People Care About 48 Think Top Down 48 Give People a Logical Path to Follow 48 Make Usage Easy and Obvious 49 Use User-Centric Terminology 50 Minimize the Effort Required for User Input 50 Downplay File-Handling Operations 50 Enable Collaboration and Connectedness 51 De-emphasize Settings 52 Brand Appropriately 53 Make Search Quick and Rewarding 53 Entice and Inform with a Well-Written Description 54 Be Succinct 55 Use UI Elements Consistently 55 Consider Adding Physicality and Realism 56 Delight People with Stunning Graphics 57 Handle Orientation Changes 58 Make Targets Fingertip-Size 60 Use Subtle Animation to Communicate 61 Support Gestures Appropriately 62 Ask People to Save Only When Necessary 63 Make Modal Tasks Occasional and Simple 63 Start Instantly 64 Always Be Prepared to Stop 65 Don’t Quit Programmatically 65 If Necessary, Display a License Agreement or Disclaimer 65 For iPad: Enhance Interactivity (Don’t Just Add Features) 66 For iPad: Reduce Full-Screen Transitions 66 For iPad: Restrain Your Information Hierarchy 67 For iPad: Consider Using Popovers for Some Modal Tasks 69 For iPad: Migrate Toolbar Content to the Top 70 Chapter 6 iOS Technology Usage Guidelines 73 iCloud Storage 73 Multitasking 74 Notification Center 76 Printing 80 iAd Rich Media Ads 81 Quick Look Document Preview 87 Sound 88 Understand User Expectations 88 Define the Audio Behavior of Your App 89 Manage Audio Interruptions 93 Handle Media Remote Control Events, if Appropriate 94 VoiceOver and Accessibility 95 Edit Menu 96 Undo and Redo 98 Keyboards and Input Views 99 Location Services 99 Chapter 7 iOS UI Element Usage Guidelines 101 Bars 101 The Status Bar 101 Navigation Bar 102 Toolbar 105 Tab Bar 106 Content Views 108 Popover (iPad Only) 108 Split View (iPad Only) 111 Table View 113 Text View 121 Web View 122 Container View Controller 123 Alerts, Action Sheets, and Modal Views 123 Alert 123 Action Sheet 127 Modal View 130 Controls 133 Activity Indicator 133 Date and Time Picker 133 Detail Disclosure Button 134 Info Button 135 Label 135 Network Activity Indicator 136 Page Indicator 136 Picker 137 5 2011-10-12 | . 2011 Apple Inc. All Rights Reserved. CONTENTS Progress View 138 Rounded Rectangle Button 139 Scope Bar 139 Search Bar 140 Segmented Control 141 Slider 142 Stepper 143 Switch 143 Text Field 144 System-Provided Buttons and Icons 145 Standard Buttons for Use in Toolbars and Navigation Bars 145 Standard Icons for Use in Tab Bars 148 Standard Buttons for Use in Table Rows and Other UI Elements 149 Chapter 8 Custom Icon and Image Creation Guidelines 151 Tips for Designing Great Icons and Images 152 Tips for Creating Great Artwork for the Retina Display 153 Tips for Creating Resizable Images 154 Application Icons 155 Launch Images 157 Small Icons 159 Document Icons 160 Document Icon Specifications for iPhone 160 Document Icon Specifications for iPad 161 Web Clip Icons 163 Icons for Navigation Bars, Toolbars, and Tab Bars 164 Newsstand Icons 166 Document Revision History 169
Introduction iPhone and iPod touch are sophisticated devices that combine the revolutionary Multi-Touch interface with powerful features, such as email and instant-messaging capability, a full-featured web browser, iPod, and, in iPhone, a mobile phone. iPhone OS is the system software that runs on iPhone and iPod touch. With the advent of the iPhone SDK, these powerful features are extended to include significant developer opportunities. In addition to creating web content for use on iPhone OS–based devices, developers can use the iPhone SDK to create native applications people can store and use on their devices. Read this document to learn about the range of application types you can develop for iPhone OS and the human interface design principles that form the foundation of great iPhone applications. In this document you learn how to follow those principles as you design a superlative user interface and user experience for your iPhone application. Whether you’re an experienced computer application developer, an experienced mobile-device application developer, or a newcomer to the field, the guidelines in this document will help you produce iPhone applications users want. Organization of This Document iPhone Human Interface Guidelines is divided into two parts, each of which contains several chapters: ■ The first part, “Planning Your iPhone Software Product” (page 13) describes the iPhone OS environment and the types of software you can develop for it. It also covers fundamental human interface design principles and describes how to apply these principles to the design of your iPhone application. ■ The second part, “Designing the User Interface of Your iPhone Application” (page 61), delves into the components you use to create the user interface of your iPhone application. It describes the various views and controls that are available to you and provides guidance on how to use them effectively.

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值