TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

How to ask users for iOS permissions

58 点作者 gr2020超过 10 年前

7 条评论

Animats超过 10 年前
This is an amusing tutorial on how to scam users into giving your app more permissions than it needs. Their popup text reads &quot;Heyday would like to access your location Heyday uses your location to journal places you go. It&#x27;s completely private and secure.&quot;<p>Now compare their privacy policy:<p>&quot;If location services are enabled on your mobile device, our HeyDay application will passively and automatically send location information to Hey, Inc...&quot;<p>&quot;Hey, Inc. cannot guarantee your safety and security and you should be aware that submitting any information and using the Services is done at your own risk.&quot;<p>So, in the popup, they claim to take responsibility for the security of location data, but in reality, they&#x27;re tracking you at all times and don&#x27;t take responsibility for the security of the data.
评论 #8841739 未加载
0942v8653超过 10 年前
Actually, an easy way to get your privileges after they were declined is to open the URL &quot;app-settings:&quot;. In iOS 8, the settings page for any app includes easy access to the permissions, including at least location, photos, notifications, microphone, background refresh, and cellular data.<p>Quite a bit simpler, and takes the user right to it. Of course, you still have to initiate the action, but again this can be done at a relevant place in the app.
WhitneyLand超过 10 年前
A simple example of the best practice described here is to display a checkbox that says &quot;Allow us to use your camera&quot;. Then if the user toggles the checkbox the app immediately presents the system permission prompt.<p>When you see it in action it feels really natural and less jarring to the user.<p>I&#x27;ve noticed this in a few apps so it seems like it&#x27;s becoming a design trend, and a good trick to learn from for those that make apps.
评论 #8842174 未加载
sitharus超过 10 年前
I&#x27;ve noticed this with websites in Safari recently, the first thing you see is &quot;Allow &lt;site&gt; to send push notifications&quot;, and I immediately click no - I just want to read the article!<p>It&#x27;s always better to wait to see if someone&#x27;s interested or just exploring.
评论 #8841470 未加载
username223超过 10 年前
&gt; Only 3% of users who clicked “Give Access” clicked “Don’t Allow”, meaning less than 2% of total users denied access at a system level.<p>How many normal humans could anticipate that saying &quot;yes&quot; then &quot;no&quot; was the only way to say &quot;no&quot;? Putting a preemptive &quot;obey&#x2F;ask me later&quot; dialog before the system one is slimy, but not unexpected.
评论 #8843152 未加载
jlaws超过 10 年前
Here is a pre-permission utility that supports (almost) all of the permission types on iOS:<p><a href="https://github.com/jlaws/JLPermissions" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;jlaws&#x2F;JLPermissions</a><p>pod &quot;JLPermissions&#x2F;Calendar&quot; pod &quot;JLPermissions&#x2F;Camera&quot; pod &quot;JLPermissions&#x2F;Contacts&quot; pod &quot;JLPermissions&#x2F;Facebook&quot; pod &quot;JLPermissions&#x2F;Health&quot; pod &quot;JLPermissions&#x2F;Location&quot; pod &quot;JLPermissions&#x2F;Microphone&quot; pod &quot;JLPermissions&#x2F;Notification&quot; pod &quot;JLPermissions&#x2F;Photos&quot; pod &quot;JLPermissions&#x2F;Reminders&quot; pod &quot;JLPermissions&#x2F;Twitter&quot;
msoad超过 10 年前
Sometime app ask for permission right on spot that it&#x27;s needed. For example when sharing with friends, they ask for contacts permission so they can fill in &quot;to:&quot; field of a &quot;send to a friend&quot; dialog. It&#x27;s all reasonable and nice until you realize the app sent your entire addressbook to their servers and you start seeing recommendations to connect etc from your friends contacts in the app...<p>Can iOS solve this?
评论 #8840832 未加载
评论 #8841192 未加载
评论 #8842152 未加载