Show "now playing" notification

This commit is contained in:
Rasmus Krämer 2022-03-06 15:56:25 +01:00
parent 9253a9bf6e
commit 979b74f516
2 changed files with 73 additions and 39 deletions

View file

@ -7,6 +7,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
UIApplication.shared.beginReceivingRemoteControlEvents()
// Override point for customization after application launch.
return true
}