Post

Replies

Boosts

Views

Activity

Picture-In-Picture not starting in the background with AVFoundation based player
While working on an app that uses a custom player based on AVFoundation, ie not based on AVPlayerViewController, I was unable to get picture-in-picture to start while the app was in the background with Group Activities. It turns out we were initiating and configuring our AVPictureInPictureController after coordinating our GroupSession with the players AVPlayerPlaybackCoordinator. Once we setup the picture-in-picture controller first, then coordinated the group session, background picture-in-picture started working. Hope this helps others in the same situation.
0
0
614
Sep ’21
Detect if a device has Night Shift mode active?
I have looked a bit in the iOS 9.3 API Diffs, as well as searching the developer website and these forums, and did not see any references.Is there an API determine if Night Shift is active?
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
7
Boosts
0
Views
4.2k
Activity
Aug ’22
Picture-In-Picture not starting in the background with AVFoundation based player
While working on an app that uses a custom player based on AVFoundation, ie not based on AVPlayerViewController, I was unable to get picture-in-picture to start while the app was in the background with Group Activities. It turns out we were initiating and configuring our AVPictureInPictureController after coordinating our GroupSession with the players AVPlayerPlaybackCoordinator. Once we setup the picture-in-picture controller first, then coordinated the group session, background picture-in-picture started working. Hope this helps others in the same situation.
Replies
0
Boosts
0
Views
614
Activity
Sep ’21