title: Custom sound remote push notification iOS not working
body: <p>I'm trying to change the sound of the remote message</p>
  
  <p>I've added the file into my project, see picture 1</p>
  
  <p><img src="https://i.stack.imgur.com/bn3vK.png" alt="Structure application"></p>
  
  <p>I've also added everything into my AppDelegate. In the didFinishLaunchingWithOptions I've added:</p>
  
  <pre><code> if (UIDevice.currentDevice().systemVersion as NSString).floatValue &gt;= 8.0 {
          UIApplication.sharedApplication().registerUserNotificationSettings(UIUserNotificationSettings(forTypes: .Sound | .Alert | .Badge, categories: nil))
          UIApplication.sharedApplication().registerForRemoteNotifications()
      } else {
          UIApplication.sharedApplication().registerForRemoteNotificationTypes(.Badge | .Sound | .Alert)
      }
  
      //Clear badge
      UIApplication.sharedApplication().applicationIconBadgeNumber = 0
      UIApplication.sharedApplication().cancelAllLocalNotifications()
  </code></pre>
  
  <p>The other methods I've implemented are:</p>
  
  <pre><code>func application(application: UIApplication, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: NSData) {
      let deviceTokenString = deviceToken.hexString
      println(deviceTokenString)
      let task = service.writeForNotifications(token: deviceTokenString, completionHandler: {
      })
      task.resume()
  }
  
  func application(application: UIApplication, didFailToRegisterForRemoteNotificationsWithError error: NSError) {
      println("Failed to get token: \(error)")
  }
  </code></pre>
  
  <p>The Json I received from the service is:</p>
  
  <pre><code>{"aps":{"alert":"The push message!", "sound":"ice.caf"}}
  </code></pre>
  
  <p>I'm not sure whitch step I've forgotten to change the sound of the notification?
  When I receive a notification it always plays the default sound.</p>