Install any skill in seconds. Free to start, no credit card required.
Get Started Free →dpearson2699/avkit
Create media playback experiences using AVKit.
Passed 22 of 23 test cases with the skill, and 20 of 23 without it.
2 fixed20 passed either way1 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 2 test cases the skill fixed. Same model, same prompt, with and without the skill.
When a user taps the restore button in a floating Picture-in-Picture window, the floating window dismisses but my main app UI doesn't restore the player view, causing the player state to hang. What delegate method must be implemented and what must be called in its completion block?
| Checked | Without skill | With skill |
|---|---|---|
| Implements playerViewController(_:restoreUserInterfaceForPictureInPictureStopWithCompletionHandler:) | Missed | Passed |
| Calls completionHandler with true after restoring the player interface | Passed | Passed |
The instructions your model reads when the skill loads.
High-level media playback UI built on AVFoundation. Provides system-standard video players, Picture-in-Picture, AirPlay routing, transport controls, and subtitle/caption display. Targets Swift 6.3 / iOS 26+.
Playback apps need an audio session category and the matching background mode when they support background audio, AirPlay, or PiP.
audio value in UIBackgroundModes).playbacksetActive(true) until playback begins so you do not interrupt other
audio prematurelyimport AVFoundation
func configureAudioSessionForPlayback() {
let session = AVAudioSession.sharedInstance()
do {
try session.setCategory(.playback, mode: .moviePlayback)
} catch {
test cases passed, vs 20 / 23 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.