ios-samples/PrivacyPrompts
Rolf Bjarne Kvinge c48c4d648c
Add .editorconfig and fix formatting accordingly. (#471)
The new .editorconfig is copied from the one in xamarin/xamarin-macios.

Formatting was fixed using 'dotnet format whitespace --folder .'
2023-02-17 14:55:43 +01:00
..
PrivacyPrompts Add .editorconfig and fix formatting accordingly. (#471) 2023-02-17 14:55:43 +01:00
Screenshots [Privacy Prompts] Updated screenshots 2014-10-31 13:55:55 -10:00
Metadata.xml Add brief description tag to metadata.xml 2015-03-23 18:03:04 +03:00
README.md onboard missing samples 2019-08-01 22:24:39 -07:00

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
csharp
xamarin
privacyprompts

PrivacyPrompts

This sample demonstrates how to check and request access to classes in the Privacy Settings.

PrivacyPrompts application screenshot

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/>
      
  • HealthKit: – Intro to HealthKit
    • The following Entitlement key must also be set:
      <key>com.apple.developer.healthkit</key>
      <true/>
      

License

Xamarin port changes are released under the MIT license