whats new in tvos18

Generated on 10/11/2024

1 search

In tvOS 18, Apple has introduced several new features and improvements. One of the key updates is the transition from TVML to SwiftUI for building apps. SwiftUI now provides everything needed to create rich, fully-featured media catalog and streaming apps for Apple TV. This includes new APIs for tab views and sidebars, allowing developers to create a more integrated and seamless user experience across different Apple platforms.

Additionally, the floating sidebar from the TV app is now available system-wide in tvOS 18 through SwiftUI, offering a translucent appearance and compact indicator. This can be easily adopted in existing apps using the navigation split view APIs.

For developers with existing TVML apps, Apple is encouraging a migration to SwiftUI, as TVMLKit is being deprecated and will no longer grow with the platform. SwiftUI allows for more flexibility and the ability to share code across iOS, iPadOS, macOS, and visionOS, making it easier to build cross-platform apps.

For more detailed information, you can refer to the session Migrate your TVML app to SwiftUI.