<!--
{
  "availability" : [
    "tvOS: 9.0.0 - 18.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "TVMLKit",
  "identifier" : "/documentation/TVMLKit/TVApplicationControllerDelegate",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "TVMLKit"
    ],
    "preciseIdentifier" : "c:objc(pl)TVApplicationControllerDelegate"
  },
  "title" : "TVApplicationControllerDelegate"
}
-->

# TVApplicationControllerDelegate

A protocol used to observe and manage the different states of an application controller.

```
protocol TVApplicationControllerDelegate : NSObjectProtocol
```

## Topics

### Managing the App Controller

[`appController(_:didFail:)`](/documentation/TVMLKit/TVApplicationControllerDelegate/appController(_:didFail:))

Tell the delegate the app controller failed due to an error.

[`appController(_:didFinishLaunching:)`](/documentation/TVMLKit/TVApplicationControllerDelegate/appController(_:didFinishLaunching:))

Tells the delegate the app controller has finished launching.

[`appController(_:didStop:)`](/documentation/TVMLKit/TVApplicationControllerDelegate/appController(_:didStop:))

Tells the delegate the app has stopped for any reason.

[`appController(_:evaluateAppJavaScriptIn:)`](/documentation/TVMLKit/TVApplicationControllerDelegate/appController(_:evaluateAppJavaScriptIn:))

Tells the delegate to add JavaScript classes and objects.

[`player(for:)`](/documentation/TVMLKit/TVApplicationControllerDelegate/player(for:))

Asks the delegate for a custom player object for a particular player bridge.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)