title: iOS Encrypted Notification sounds
body: <p>I am trying to develop an alarm clock app with a lot of custom sounds. I know these have to be in <em>aiff-format</em>, but I want them to be encrypted so they aren't accessible (and downloadable) through tools like <em>iFunBox or similar</em>. Right now, I can encrypt the files but I can't get it to work for the notifications. </p>
  
  <p>So basically, when the app is open (<code>UIApplicationStateActive</code>), I decrypt them before playing them through <code>AVAudioPlayer</code>, but I can't pass these files as the soundname for local notifications. (Because they are encrypted and the notifications doesn't know they should be decrypted first. </p>
  
  <p>Does anyone know a way to either achieve some sort of protection without encrypting these files OR a way to let the notifications use these encrypted files?</p>
  
  <p>Thanks in advance!</p>