What’s news on videos with SwiftUI ?

Generated on 9/15/2024

1 search

At WWDC 2024, several updates related to videos and SwiftUI were introduced:

  1. Auto-playing Videos in SwiftUI: In the session titled What’s new in SwiftUI, it was highlighted that SwiftUI now allows you to detect when a view's visibility changes due to scrolling. This feature enables the creation of experiences centered around content moving on or off-screen, such as auto-playing videos.

  2. SwiftUI for tvOS: The session Migrate your TVML app to SwiftUI discussed how SwiftUI can be used to build rich media catalog and streaming apps for tvOS, marking a shift from the deprecated TVML.

  3. Multiview Video Playback in visionOS: The session Explore multiview video playback in visionOS introduced the multiview architecture, which allows for simultaneous video watching, enhancing the immersive media viewing experience on visionOS.

These updates reflect Apple's ongoing efforts to enhance video experiences across its platforms using SwiftUI.

Tailor macOS windows with SwiftUI

Tailor macOS windows with SwiftUI

Make your windows feel tailor-made for macOS. Fine-tune your app’s windows for focused purposes, ease of use, and to express functionality. Use SwiftUI to style window toolbars and backgrounds. Arrange your windows with precision, and make smart decisions about restoration and minimization.

Platforms State of the Union

Platforms State of the Union

Discover the newest advancements on Apple platforms.

What’s new in SwiftUI

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.

Enhance your UI animations and transitions

Enhance your UI animations and transitions

Explore how to adopt the zoom transition in navigation and presentations to increase the sense of continuity in your app, and learn how to animate UIKit views with SwiftUI animations to make it easier to build animations that feel continuous.

Explore multiview video playback in visionOS

Explore multiview video playback in visionOS

Learn how AVExperienceController can enable playback of multiple videos on Apple Vision Pro. Review best practices for adoption and explore great use cases, like viewing a sports broadcast from different angles or watching multiple games simultaneously. And discover how to design a compelling and intuitive multiview experience in your app.

Migrate your TVML app to SwiftUI

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.