In the player on iPhone or iPad devices.
Additional resources: RuntimePlatform, Platform dependent compilation.
using UnityEngine;
public class Example : MonoBehaviour { void Start() { if (Application.platform == RuntimePlatform.IPhonePlayer) { Debug.Log("Do something special here!"); } } }