Questions tagged [shareplay]

5 questions
2
votes
0 answers

Has anyone figured out how to "Shareplay via Airdrop"?

I would like to add a functionality to my app similar to this WWDC video: https://developer.apple.com/videos/play/wwdc2023/10239/ (6:42) I've already implemented a GroupActivity via a FaceTime call similar to the "Draw Together" app example but I…
AppsRD
  • 65
  • 4
1
vote
1 answer

How to make a custom AVPlayer support SharePlay adjust coordinate or play-pause control

This app was written using SwiftUI and I also consulted Apple's official documentation and some third-party websites. So I wrote something like the following code This is the Swift code where the player is called and the SharePlay-related…
Jimmy
  • 11
  • 2
1
vote
0 answers

How to handle SharePlay initiated via AirPlay Button

We recently implemented SharePlay in our broadcasting app and most of things work fine. We now found out, that the user, during a SharePlay session, is able to hand over the session to an Apple TV via the AirPlay Button, which is convenient UX,…
Kai Huppmann
  • 10,705
  • 6
  • 47
  • 78
1
vote
2 answers

How to join a SharePlay GroupSession correctly/programmatically?

I have problems to join a share play group session programmatically. First I create on one device a SharePlay Activity await SharePlayGame().activate() If this was successful the creator listen to the session private func startSession() async { …
kuzdu
  • 7,124
  • 1
  • 51
  • 69
0
votes
0 answers

Wrong keyboard's orientation in Share Sheet

I'm using SharePlay in my app which supports just landscape mode. I'm trying to use the UIActivityViewController to show the SharePlay button. After clicking on the share play button, the Facetime contact picker appears with a keyboard. Sometimes as…
Rudi
  • 4,304
  • 4
  • 34
  • 44