what's new with tvos 18.0

Asked on 08/10/2024

1 search

In tvOS 18, Apple has introduced several new features and improvements, particularly focusing on the transition from TVML to SwiftUI for app development. Here are some key updates:

  1. SwiftUI for tvOS: SwiftUI now provides everything needed to build rich, fully-featured media catalog and streaming apps for Apple TV. This marks a shift from the older TVML framework, which is now deprecated. Developers are encouraged to migrate their TVML apps to SwiftUI to take advantage of the new capabilities.

  2. Deprecation of TVML: TVML will remain available in tvOS but will not receive further updates. This change reflects the evolution of streaming media and the need for more modern development tools.

  3. Cross-Platform Code Sharing: SwiftUI allows developers to share a significant amount of code between their apps for iPhone, iPad, Mac, and Apple Vision Pro, making it easier to create consistent experiences across Apple devices.

  4. New APIs and Features: The new tab view APIs in SwiftUI allow for different types of content, enabling developers to build detailed and functional sidebars while maintaining a minimal tab bar appearance. This is particularly useful for creating apps that look great on both iPad and Apple TV.

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