Instance Method

terminate()

Terminates any running instance of the application.

Declaration

func terminate()

Discussion

If the application has an existing debug session via Xcode, the debugger sends the kill command to terminate the application. Otherwise, an appropriate platform-specific mechanism terminates the process.