美文网首页
07应用架构_授予权限-Human Interface Guid

07应用架构_授予权限-Human Interface Guid

作者: 率然之兵 | 来源:发表于2018-08-24 09:05 被阅读0次

    Users must grant permission for an app to access personal information, including the current location, calendar, contact information, reminders, and photos. Although people appreciate重视 the convenience便利性 of using an app that has access to this information, they also expect to have control over their private data. For example, people like being able to automatically tag photos with their physical location or find nearby friends, but they also want the option to disable such features.

    用户必须授予app使用个人信息的权限,包括当前位置、日历、联系方式、提醒和照片。虽然人们重视授予app这些权限后的便利性。他们也期望能够控制他们的隐私信息。例如,人们喜欢自动的给他们的照片打上位置标签或者发现附近的朋友,但是他们也会想要拥有关闭这些特性的选择权。

    Request personal data only when your app clearly needs it. It’s natural to be suspicious可疑的 of a request for personal information, especially if there’s no obvious need for it. Make sure permission requests occur only when people are using features that clearly need personal data. For example, an app might only request access to the current location when activating a location tracking feature.

    只有当你的app十分明显的需要时再去请求获得个人信息。获取个人信息的请求通常会让人觉得可疑,特别是没有明显的需求的时候。确保只有当用户使用某项功能时,十分明显的需要个人信息,再请求授权。例如,app可能只在启用定位追踪功能时才会请求获取当前位置。

    Explain why your app needs the information. Provide custom text (known as a purpose string or usage description string) for display in the system's permission request alert, and include an example. Keep the text short and specific明确的, use sentence case, and be polite so people don't feel pressured. There’s no need to include your app name—the system already identifies your app. 

    解释你的app为什么需要这些信息。在系统授权的警告弹窗中显示订制的文本来描述目的或者用途的字符串,并且要包含一个例子。保持文本的简短、明晰,使用例句并且保持礼貌,这样用户就不会感觉到压力。不需要提示中包含你app的名字因为系统已经包含了。

    包含目的的字符

    Request permission at launch only when necessary for your app to function. Users won’t be bothered by this request if it’s obvious that your app depends on their personal information to operate.

    只有某项权限对你的app是必须的情况下,再在加载时请求授权。如果你的app十分明显的需要个人信息才能运行,那么用户不会觉得被打扰。

    Don’t request location information unnecessarily. Before accessing location information, check the system to see whether Location Services is enabled. With this knowledge, you can delay the alert until a feature truly requires it, or perhaps avoid the alert altogether. 

    不要在不必要的时候请求位置信息。在获取位置信息时,核对系统是否打开位置服务。有了这些信息,你可以延迟警告直到真正的需要它时或者完全不弹出警告。

    相关文章

      网友评论

          本文标题:07应用架构_授予权限-Human Interface Guid

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