iOs Multitasking Events

I’ve got a question. Is there any way to handle multitasking events in Unity. Such as applicationDidEnterBecome() and applicationDidBecomeActive(). I want to save my game data via PlayerPrefs when I close my app. Any ideas? Thanks.

I found the way! Just use OnApplicationPause().