AppleAppInfo
The localized values that describe an Apple application in its property list.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Property
- Namespace: Unity.Localization
- Assembly: UnityEngine.LocalizationRuntimeModule
public static AppInfo AppleAppInfo { get; }
Remarks
Holds the application name and the permission prompts the operating system shows while the application is not running. Unity reads it when it builds for an Apple platform and writes the values into the generated Xcode project, so configure it before building. Without a registered settings instance this reads as null.
Configure the Apple application name and permission prompts before a build.
Examples
using Unity.Localization;using Apple = Unity.Localization.Apple;namespace Unity.Localization.Samples{ public class AppleAppInfoExample { public void Run(Apple.AppInfo appInfo) { appInfo.ShortName.SetReference("App Strings", "App Short Name"); appInfo.DisplayName.SetReference("App Strings", "App Display Name"); appInfo.CameraUsageDescription.SetReference("App Strings", "Why We Need The Camera"); } }}