瀏覽代碼

Try to get sound playing on iOS

Sebastián Katzer 12 年之前
父節點
當前提交
6abf363a87
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/ios/APPLocalNotification.m

+ 1 - 1
src/ios/APPLocalNotification.m

@@ -230,7 +230,7 @@ NSString *const kAPP_LOCALNOTIFICATION = @"APP_LOCALNOTIFICATION";
         }
         else
         {
-            notification.soundName = sound;
+            notification.soundName = [self.commandDelegate pathForResource:sound];
         }
     }