美文网首页
iOS-HIG 用户交互-数据输入

iOS-HIG 用户交互-数据输入

作者: 肖建春 | 来源:发表于2017-07-12 15:34 被阅读12次

    Data Entry

    Whether tapping interface elements or using the keyboard, inputting information can be a tedious process. When an app slows down the process by asking for lots of input before doing anything useful, people can get discouraged quickly, and may even abandon the app entirely.

    不管是敲击界面元素或使用键盘,输入信息都可能成为一个沉闷的过程。当在做任何有用的事情之前,通过要求大量输入减慢这个过程,用户会很快失望,甚至放弃使用app。

    When possible, present choices.Make data entry as efficient as possible. Consider using a picker or table instead of a text field, for example, because it’s easier to choose from a list of predefined options than to type a response.

    尽可能展示选项。让数据输入尽可能高效。考虑使用选择器或table代替文本框,例如,因为从列表中选择预先定义的选项比输入一个回答容易。

    Get information from the system whenever possible.Don’t force people to provide information that can be gathered automatically or with the user's permission, such as contact or calendar information.

    尽量从系统中取得信息。不要强迫用户提供信息能自动收集或者通过获得用户允许得到的信息,例如联系人或日历信息。

    Provide reasonable default values.To the extent possible, prefill fields with the most likely values. Providing good defaults minimizes decision making and speeds up the process.

    提供合理的初始值。查找可能的范围,给字段填上最可能的值的。提供好的初始值简化做决定,加速整个过程。

    Enable advancement only after collecting required values.Before enabling a Next or Continue button, make sure all required fields have values. Use the enablement of the button as a visual cue that it’s time to proceed.

    只有在收集完必须值之后才激活前进。在激活一个Next or Continue按钮之前,保证所有必填值都有值。用按钮的激活作为可视化的暗示,是时候前进了。

    Dynamically validate field values.It’s frustrating when you have to go back and correct mistakes after filling out a lengthy form. Whenever possible, check field values immediately after entry so users can correct them right away.

    动态验证字段值。在你填完一个长表单后还得返回去更正错误是件令人沮丧的事。任何时候,在用户输入之后立刻检查字段值,这样用户可以马上更正错误。

    Require field values only when necessary.Use required fields only for information that is truly necessary to proceed.

    只有需要时才要求必填。只有信息是真的必须才能进行才要求必填。

    Ease navigation through value lists.Especially in tables and pickers, it should be easy to pick a value. Consider sorting value lists alphabetically or in another logical manner that facilities speedy scanning and selection.

    优化值列表的导航。特别在tables和选择器,需要让选择一个值变得容易。考虑按字母讯息排列值列表或者用另一种逻辑规则来加速浏览和选择。

    Show a hint in a text field to help communicate purpose.A text field can contain placeholder text—such as "Email" or "Password"—when there’s no other text in the field. Don’t use a separate label to describe a text field when placeholder text is sufficient.

    在一个文本输入框中显示一个提示来帮助交流目的。一个文本输入框可以包含占位符文本-例如"Email" or "Password"—当没有其他文本在这个字段中时。不要使用单独的标签来形容一个文本字段当文本占位符已经足够时。

    相关文章

      网友评论

          本文标题:iOS-HIG 用户交互-数据输入

          本文链接:https://www.haomeiwen.com/subject/lwkbhxtx.html