How to simulate [iOS] app suspend on the Unity editor?

I need to simulate the iPhone/iPad hard button press on the Unity editor so that I don’t have to build to test my code. Is this possible in Unity? If not, can you please suggest a workaround? Thanks.

I’ve accidentally found the answer. Simply change windows or at least lose your focus from the Unity editor. Use Alt+Tab if you’re on Windows, and that’s about it. Resuming means regaining your focus on the Window, so Alt+Tab again.

This works for me, but just for OnApplicationFocus, not OnApplicationPause.