How to quit / restart a tvOS application

How do you force quit an app on the Apple TV? or force an app to restart and not open from sleep

Replies

Application management on tvOS works similarly to iOS. Normally users should not need to worry about "quitting" apps. However developers can have need to do so as they are working on their apps. To show the application switcher, double press the TV button on the Touch Remote. Focus the app you would like to force quit and then swipe up.


If you need to reset some state or do other work before your app goes to the background, you could do that in -applicationWillResignActive: of your UIApplication delegate.

On the iOS, for hard-force quitting apps (for when swiping the app away from app switcher is simply not enough): you hold the power button until the power off slider appears and then hold the home button, until the home screen appears.


Is there a similar action on tvOS?

Double-tap the TV button on the remote. Then swipe up on the app you want to terminate.

exit(0);


Useful in dev builds.