3 ms·
I'm convinced this is the best way to do it. I was testing one of those apps that repeats what you say and they did something like this. They popped up a dialog
by dangero 13y ago
I'm convinced this is the best way to do it. I was testing one of those apps that repeats what you say and they did something like this. They popped up a dialog that said, "We are going to ask for access to the Microphone. We need this so we can make the animal repeat after you." When you tapped "OK" the permission dialog popped up. Apple should really let the developer put some information like that on their permission dialog.
- bbatsell 13y ago> Apple should really let the developer put some information like that on their permission dialog. They do :) See all of the NS.*UsageDescription keys listed here: https://developer.apple.com/library/mac/documentation/general/Reference/InfoPlistKeyReference/Articles/CocoaKeys.html https://developer.apple.com/library/mac/documentation/genera...
- LeoNatan25 13y agoThey don't on iOS.
- bbatsell 13y agoYes, they do. Many apps use them (including the one in the linked article, which shows customized usage descriptions in their screenshots). The documentation I linked applies to both Cocoa and Cocoa Touch, and you can see whether OS X or iOS or both supports each key based on the Platform column on the right.