Uninstall an iPhone app from MAC

I am new to iOS automation…
I want a method to uninstall an application from iPhone (Real Device) using terminal, So that it can be included in my test cases.


What programming language do U use?
In Java it is very simple there is the native method in the appium-java-client.

thnx for replying…

i am using java.
could u please tell me in detail how i can uninstall the ios app …

U can use capability – full reset - true - It will be uninstall the app after test(or each tests).