SkillAgentSearch skills...

IOSBackgroundAudioSwift

Sample iOS 8 Swift code for playing music in the background. Demonstrates music queries, playing songs, and intercepting remote control events.

Install / Use

/learn @jsagorin/IOSBackgroundAudioSwift
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

iOSBackgroundAudioSwift

Sample iOS 15 code (Swift) for playing audio in the background on an iOS app. Demonstrates MPMedia music queries, playing songs, and remote control events received in the control center. For more details, read this blog post: http://www.sagorin.org/ios-playing-audio-in-background-audio/

NOTE: Run code on a device with downloaded songs.

For the Objective-C version of this code, see https://github.com/jsagorin/iOSBackgroundAudio

View on GitHub
GitHub Stars41
CategoryDevelopment
Updated2y ago
Forks9

Languages

Swift

Security Score

60/100

Audited on Jan 30, 2024

No findings