How to quit unity game from iOS native app and release the memory

I am trying to integrate unity app into my iOS native app. I am able to launch when ever I want, but I cannot able to quit unity app once the game is completed. How to quit the unity and release the memory?

i tried Application.Unload ();

it works the first time but the second time i click on play button it crashed my game any help ?

There i posted my ideas about it. swift - How to quit / terminate entire unity game from native iOS - Stack Overflow