SharePlay is all about creating significant shared experiences in your app. By profiting from SharePlay, your app can present a real-time connection that synchronizes every little thing from media playback to 3D fashions to collaborative instruments throughout iPhone, iPad, Mac, AppleĀ TV, and AppleĀ Imaginative and prescientĀ Professional. We caught up with the SharePlay group to ask about creating nice SharePlay experiences, spatial Personas, that magic āshockwaveā impact, and extra.
How does an individual begin a SharePlay expertise?
Anybody can start a gaggle exercise by beginning a FaceTime name after which launching a SharePlay-supported app. After they do, a notification in regards to the group exercise will seem on all individualsā screens. From there, individuals can be a part of ā and are available and go ā as they like. You too can begin a gaggle exercise out of your app, from the share sheet, or by including a SharePlay button to your app.
Be taught extra >
How can I exploit SharePlay to maintain media playback in sync?
SharePlay helps coordinated media playback utilizing AVKit. You should utilize the system coordinator to synchronize your individual participant throughout a number of individuals. You probably have an ad-supported app, you possibly can synchronize each playback and advert breaks. SharePlay additionally gives the GroupSessionMessenger API, which lets individuals talk in near-real time.
Whatās the distinction between SharePlay and Shared with You? Can they work collectively?
SharePlay permits individuals to share wealthy experiences with one another. Shared with You helps make app content material that individuals are sharing in Messages out there to your app. For instance, if a gaggle chat is discussing a humorous meme video out of your app, adopting Shared with You’d enable your app to spotlight that content material within the app. And in case your app helps SharePlay, you possibly can floor that related content material as an possibility for watching collectively.
Individually, Shared with You provides methods to provoke collaboration on shared, continued content material (equivalent to paperwork) over Messages and FaceTime. You possibly can select to assist SharePlay on that collaborative content material, however if you happen to do, take into account the ephemerality of a SharePlay expertise in comparison with the persistence of collaboration. For instance, in case your doc is a presentation, you could want to leverage Shared with You to get editors into the area whereas utilizing SharePlay to launch an interactive presentation mode that simply isnāt attainable with display screen sharing alone.
Whatās the simplest method for individuals to share content material?
When your app lets your system know that your present view has shareable content material on display screen, individuals who carry their units collectively can seamlessly share that content material ā very similar to NameDrop, which presents a short āshockwaveā animation once they do. This technique helps the discrete actions of sharing paperwork, initiating SharePlay, and beginning a collaboration. This could additionally join your content material to the system share sheet and enable you to expose shareable content material to the Share menu in visionOS.
Be taught extra >
Can somebody on iPhone be a part of a SharePlay session with somebody on AppleĀ Imaginative and prescientĀ Professional?
Sure! SharePlay is supported throughout iOS, iPadOS, macOS, tvOS, and visionOS. Which means individuals can watch a present collectively on AppleĀ TV+ and hold their playback synchronized throughout all platforms. To assist an identical playback scenario in your app, watch Coordinate media playback in Safari with Group Actions. When youāre trying to keep your appās visible consistency throughout platforms, take a look at the Group Session Messenger and DrawTogether pattern challenge. Keep in mind: SharePlay retains issues synchronized, however your UI is as much as you.
How do I get began adopting spatial Personas with SharePlay in visionOS?
Once you add Group Actions to your app, individuals can share in that exercise over FaceTime whereas showing windowed ā primarily the identical SharePlay expertise theyād see on different platforms. In visionOS, you’ve the power to create a shared spatial expertise utilizing spatial Personas by which individuals are positioned based on a template. For instance:
Utilizing spatial Personas, the atmosphere is stored constant and individuals can see every othersā facial expressions in actual time.
Be taught extra >
How do I keep visible and spatial consistency with all individuals in visionOS?
FaceTime in visionOS gives a shared spatial context by putting spatial Personas in a constant method round your app. That is what we consult with as āvisible consistency.ā You should utilize SharePlay to take care of the identical content material in your app for all individuals.
Be taught extra >
Can each a window and a quantity be shared on the identical time in a SharePlay session?
No. Just one window or quantity could be related to a SharePlay session, however you possibly can assist the system select the correct window or quantity.
Be taught extra >
How many individuals can take part in a gaggle exercise?
SharePlay helps 33 whole individuals, together with your self. Group actions on visionOS involving spatial Personas assist 5 individuals at a time.
Do iOS and iPadOS apps which might be suitable with visionOS additionally assist SharePlay in visionOS?
Sure. Throughout a FaceTime name, your app will seem in a window, and individuals within the FaceTime name will seem subsequent to it.
Be taught extra about SharePlay
Design spatial SharePlay experiences
Discover the varieties of shared actions you possibly can create in your visionOS apps and learn the way your apps can use Spatial Persona templates to assist significant interactions between individuals. Uncover methods to design your UI round a shared context, deal with immersive content material in a shared exercise, and extra.
Watch now
Construct spatial SharePlay experiences
Uncover how you should utilize the GroupActivities framework to construct distinctive sharing and collaboration experiences for visionOS. Weāll introduce you to SharePlay on this platform, learn to create experiences that make individuals really feel current as in the event that they have been in the identical area, and discover how immersive…
Watch now
Share information with SharePlay
Uncover methods to work with information and attachments in a SharePlay exercise. Weāll clarify methods to use the GroupSessionJournal API to sync giant quantities of information sooner and present you methods to undertake it in a demo of the pattern app DrawTogether.
Watch now
Add SharePlay to your app
Uncover how your app can reap the benefits of SharePlay to show any exercise right into a shareable expertise with buddies! Weāll share the most recent updates to SharePlay, discover the advantages of making shared actions, dive into some thrilling use instances, and take you thru greatest practices to create…
Watch now