How to simulate ios sleep in Unity Editor?

There are some bugs that only happen when the app goes to sleep and wakes up. Is there a way to simulate this behavior in the editor? Clicking out of the editor and back in calls OnApplicationPause, but that doesn’t do enough.

Change windows or at least lose your focus from the Unity editor. Use Alt+Tab if you’re on Windows.
You could find the full answer on the following links:

How to simulate iOS app suspend on the Unity editor?

How do I get OnApplicationPause to trigger?