Legacy Documentation: Version 5.5
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.