How to uninstall and reinstall app using appium

Env: Appium 1.3.1
bindings: C#. ios

I want to uninstall app and reinstall it, tried removeapp(bundleid) after driver quit or else wise.
but it always throw unexpected error(webdriver exception caught)

Please suggest

Thanks.