зеркало из https://github.com/xamarin/ios-samples.git
c48c4d648c
The new .editorconfig is copied from the one in xamarin/xamarin-macios. Formatting was fixed using 'dotnet format whitespace --folder .' |
||
---|---|---|
.. | ||
PrivacyPrompts | ||
Screenshots | ||
Metadata.xml | ||
README.md |
README.md
name | description | page_type | languages | products | urlFragment | ||
---|---|---|---|---|---|---|---|
Xamarin.iOS - Privacy Prompts | Demonstrates how to check and request access to classes in the Privacy Settings | sample |
|
|
privacyprompts |
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