Type Method

viewControllerWithContext:forAppController:

Creates a new document view controller with a specific context and app controller.

Declaration

+ (instancetype)viewControllerWithContext:(NSDictionary<NSString *,id> *)context forAppController:(TVApplicationController *)appController;

Discussion

The context parameter provides information to TVMLKit JS to determine which document to load.