What’s new with tvos
Generated on 8/3/2024
1 search
At WWDC 2024, Apple introduced several new features and updates for tvOS, particularly focusing on the transition from TVML to SwiftUI. Here are the key highlights:
-
Deprecation of TVML: Apple is officially deprecating TVMLKit. While it will remain available as part of tvOS, it will no longer be updated. This marks a significant shift towards using SwiftUI for building tvOS apps.
-
SwiftUI for tvOS: SwiftUI now has everything needed to build rich, fully-featured media catalog and streaming apps for tvOS. This includes:
- Native tvOS UI with design cues specifically aimed at producing great tvOS apps.
- The ability to share code with apps for iPhone, iPad, Mac, and Apple Vision Pro.
- New features and flexibility beyond what TVMLKit offered.
-
Unified Development: Apps for tvOS can now be built using the same Swift language and tools used for iOS, iPadOS, macOS, watchOS, and visionOS. This allows for a more unified development experience and easier code sharing across platforms.
-
New APIs and Features:
- Borderless Button Style: Provides the platform's standard content lockup, appearance, and interaction.
- Container Relative Frames: Simplifies building content shelves.
- New Tab View APIs: Allows for different types of content and supports both tab bar and sidebar representations.
-
Sample Projects and Resources: Apple provided sample projects and additional resources to help developers transition from TVML to SwiftUI and to explore the new features in tvOS 18.
For more detailed information, you can refer to the session Migrate your TVML app to SwiftUI.
Relevant Sessions
These sessions provide comprehensive insights into the new capabilities and best practices for developing tvOS apps using SwiftUI.

Platforms State of the Union
Discover the newest advancements on Apple platforms.

Migrate your TVML app to SwiftUI
SwiftUI helps you build great apps on all Apple platforms and is the preferred toolkit for bringing your content into the living room with tvOS 18. Learn how to use SwiftUI to create familiar layouts and controls from TVMLKit, and get tips and best practices.

What’s new in SwiftUI
Learn how you can use SwiftUI to build great apps for any Apple platform. Explore a fresh new look and feel for tabs and documents on iPadOS. Improve your window management with new windowing APIs, and gain more control over immersive spaces and volumes in your visionOS apps. We’ll also take you through other exciting refinements that help you make expressive charts, customize and layout text, and so much more.

What’s new in UIKit
Explore everything new in UIKit, including tab and document launch experiences, transitions, and text and input changes. We’ll also discuss better-than-ever interoperability between UIKit and SwiftUI animations and gestures, as well as general improvements throughout UIKit.