美文网首页
Settings 设置

Settings 设置

作者: 细雨柔落 | 来源:发表于2017-02-14 15:00 被阅读0次

    翻译目录

    Some apps may need to provide a way to make setup or configuration choices, but most apps can avoid or delay doing so. Successful apps work well for most people right away, while also offering some convenient ways to adjust the experience. When you design your app to function the way most people expect, you decrease the need for settings.

    一些应用需要提供安装或设置选项,但大部分的应用能避免或推迟这么做。成功的应用大多数用户马上就能有效使用,同时提供一些便利的方式调节体验。当你设计你的应用以大多数用户期望的方式运行,你需要减少设置的需求。

    Infer what you can from the system.If you need information about the user, device, or environment, query the system for it whenever possible instead of asking the user. For example, instead of asking someone to enter their zip code so you can present local options, ask permission to use their current location.

    从系统获得你想要的。如果你需要用户,设备或环境的信息,只要可能询问系统而不是询问用户。如,代替请求某个人输入他的邮政编码,显示本地选项,请求允许使用他们当前的位置。

    Thoughtfully prioritize configuration options within your app.Your app’s main screen is a good place for options that are essential or that change frequently. Secondary screens are better for options that change only occasionally.

    在你的应用中考虑配置选项的优先级。你的应用的主要界面是基础或频繁选项的好位置,次要的界面对于仅仅偶尔修改的选项是较好的。

    Provide shortcuts to Settings when appropriate.If your app includes text that directs users to Settings, such as “Go to Settings > MyApp > Privacy > Location Services,” provide a button that opens that location automatically. To learn how to implement this behavior, seeSettings Launch URLinUIApplication.

    恰当的提供快捷设置。如果你的应用包含指导用户设置的文本,例如“去设置 > 我的应用 > 隐私 > 定位服务,"提供一个自动打开位置的按钮。学习如何实现这个行为,参阅UIApplication中的Settings Launch URL。

    Expose infrequently changed configuration options in Settings.The Settings app is a central location for making configuration changes throughout the system, but people must leave your app to get there. It’s far more convenient to adjust settings directly within your app. If you must provide settings that rarely require change, seeImplementing an iOS Settings BundleinPreferences and Settings Programming Guidefor implementation details.

    在设置应用中显示不频繁的设置选项。设置应用是让整个系统配置更改中心位置,但是用户必须离开你的应用去到那。对于直接在你的应用中调整设置这样做是不便利的。如果你必须提供很少需要改变的设置,实现细节查阅Preferences and Settings Programming Guide中的Implementing an iOS Settings Bundle

    相关文章

      网友评论

          本文标题:Settings 设置

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