SHARE
TWEET

Untitled

a guest Sep 21st, 2019 88 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //  AppDelegate.swift
  2.  
  3. import UIKit
  4. import MediaPlayer
  5.  
  6. @UIApplicationMain
  7. class AppDelegate: UIResponder, UIApplicationDelegate {
  8.     let playableContentManagerDataSource = PlayableContentManagerDataSource()
  9.     let playableContentManagerDelegate = PlayableContentManagerDelegate()
  10.    
  11.     func setupCarPlay() {
  12.         let playableContentManager = MPPlayableContentManager.shared()
  13.        
  14.         playableContentManager.dataSource = playableContentManagerDataSource
  15.         playableContentManager.delegate = playableContentManagerDelegate
  16.     }
  17. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top