title: Play sound from AppDelegate
body: <p>I'm working on an app for iPhone that uses a webview and lots of deeplinks because I'm lazy. I've configured the deeplink listening part of the app and that works great, but that method doesn't seem to be able to play systemsound or AVAudio. It doesn't error, it just doesn't play. I have this written in the method:</p>
  
  <pre><code>var iSaySound = NSURL(fileURLWithPath: NSBundle.mainBundle().pathForResource("isay", ofType: "mp3")!)
  var youSaySound = NSURL(fileURLWithPath: NSBundle.mainBundle().pathForResource("yousay", ofType: "mp3")!)
  
  var iSayPlayer = AVAudioPlayer(contentsOfURL: iSaySound, error: nil)
  iSayPlayer.prepareToPlay()
  iSayPlayer.play()
  </code></pre>
  
  <p>These sounds play in another part of the app fine, but not here. Does it have to do with it being in the AppDelegate? What's going on? Remember this is Swift</p>