зеркало из https://github.com/xamarin/ios-samples.git
3392dd3a8e | ||
---|---|---|
.. | ||
PrivacyPrompts | ||
Screenshots | ||
Metadata.xml | ||
README.md |
README.md
PrivacyPrompts
This sample demonstrates how to check and request access to classes in the Privacy Settings.
Notes
This sample does not show how to set and access the following frameworks:
- Health Kit
- Home Kit
- SiriKit
These frameworks will not run on a device without provisioning profiles that contain the correct entitlements. For more information on working with entitlements refer to the Working with Capabilities guide.
For examples on using privacy settings in these frameworks, refer to the following samples:
- SiriKit:
- ElizaChat
- The following Entitlement key must also be set:
<key>com.apple.developer.siri</key> <true/>
- HomeKit:
– HomeKit app
- The following Entitlement key must also be set:
<key>com.apple.developer.homekit</key> <true/>
- The following Entitlement key must also be set:
- HealthKit:
– Intro to HealthKit
- The following Entitlement key must also be set:
<key>com.apple.developer.healthkit</key> <true/>
- The following Entitlement key must also be set:
License
Xamarin port changes are released under the MIT license
Authors
Ported to Xamarin.iOS by Timothy Risi, Larry O'Brien, Amy Burns