Legacy Documentation: Version 2018.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

PlayerSettings.iOS.cameraUsageDescription

Switch to Manual
public static string cameraUsageDescription;

Description

Describes the reason for access to the user's camera.

When the OS prompts the user to allow access to the camera, this text is displayed as part of the dialog box.

Did you find this page useful? Please give it a rating: