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.
Yes, 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.
Comments
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.
They do :)
See all of the NS.*UsageDescription keys listed here:
https://developer.apple.com/library/mac/documentation/genera...
They don't on iOS.
Yes, 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.