<!--
{
  "availability" : [
    "tvOS: 9.0.0 - 18.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "TVMLKit",
  "identifier" : "/documentation/TVMLKit/TVApplicationControllerContext/launchOptions",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "TVMLKit"
    ],
    "preciseIdentifier" : "c:objc(cs)TVApplicationControllerContext(py)launchOptions"
  },
  "title" : "launchOptions"
}
-->

# launchOptions

Data passed to the JavaScript launch callback method.

```
var launchOptions: [String : Any] { get set }
```

## Discussion

The system will pass this data to the JavaScript <doc://com.apple.documentation/documentation/tvmljs/app/1627407-onlaunch> method. The values contained in this property must be serializable. You must include <doc://com.apple.documentation/documentation/UIKit/UIApplication/LaunchOptionsKey/url> and <doc://com.apple.documentation/documentation/UIKit/UIApplication/LaunchOptionsKey/sourceApplication> in the launch options if the JavaScript implements the <doc://com.apple.documentation/documentation/UIKit/UIApplication/openURL(_:)> method.

---

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)