whats new in tvOS 18

Generated on 8/15/2024

1 search

In tvOS 18, Apple has introduced several new features and improvements, particularly focusing on enhancing app development with SwiftUI. Here are some of the key updates:

  1. SwiftUI Integration: Apple is encouraging developers to migrate from TVML to SwiftUI, as it offers more flexibility and new features for building rich, fully-featured media catalog and streaming apps. SwiftUI allows for the creation of native tvOS UI with design cues specifically aimed at producing great tvOS apps.

  2. Deprecation of TVMLKit: TVMLKit is officially deprecated, meaning it will no longer grow with the platform. Developers are encouraged to transition to SwiftUI for future-proofing their apps.

  3. Floating Sidebar: A new floating sidebar, similar to the one in the TV app, is now available system-wide in tvOS 18 through SwiftUI. It features a translucent appearance and can be easily adopted using the existing navigation split view APIs.

  4. Tab and Sidebar APIs: New tab view APIs allow for different types of content, enabling developers to build a fully-featured sidebar while maintaining a minimal tab bar appearance. This is particularly useful for apps that are also available on iPad, as it allows for a consistent user experience across devices.

  5. Cross-Platform Development: SwiftUI makes it easier to share code between tvOS apps and apps for other Apple platforms like iOS, iPadOS, macOS, and visionOS.

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