# Exit

> Application should exit when entering background.

## Definition

* **Type:** Field
* **Namespace:** [UnityEditor](/engine/6000.5/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

> **Warning:**
>
> **Removed.** UIApplicationExitsOnSuspend is no longer supported in iOS 13, use Custom or Suspend instead
>
> **Upgrade to** [iOSAppInBackgroundBehavior.Custom](/engine/6000.5/script-reference/unityeditor/iosappinbackgroundbehavior/custom.md)

```csharp
Exit = 1
```
