Use Apple’s Television Markup Language (TVML) to create individual pages inside of a client-server app.
Every page in a client-server app is built on a TVML template. TVML templates define what elements can be used and in what order. Each template is designed to display information in a specific way. For example, the loadingTemplate shows a spinner and a quick description of what is happening, while the ratingTemplate shows the rating for a product. You create a new TVML file that contains a single template for each page in a client-server app. Each template page occupies the entire TV screen.
Each template page uses compound and simple elements. Compound elements contain other elements, while simple elements are single lines of TVML. Elements contain the information and images that are displayed on the screen.
Every template has a default presentation theme associated with it. You can set a specific theme for your app setting
UIUserInterfaceStyle in the
info.plist. Themes provide a consistent look inside of a template.