Browse Source

update ios

rhyme 5 năm trước cách đây
mục cha
commit
8722e3b05e
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      ios/Classes/FlutterSoundPlugin.m

+ 1 - 1
ios/Classes/FlutterSoundPlugin.m

@@ -202,7 +202,7 @@ NSString* status = [NSString stringWithFormat:@"{\"current_position\": \"%@\"}",
 
     audioFileURL = [NSURL fileURLWithPath:[GetDirectoryOfType_FlutterSound(NSCachesDirectory) stringByAppendingString:@"sound.aac"]];
   } else {
-    audioFileURL = [NSURL fileURLWithPath: [GetDirectoryOfType_FlutterSound(NSCachesDirectory) stringByAppendingString:path]];
+    audioFileURL = [NSURL fileURLWithPath:path];
   }
 
   NSMutableDictionary *audioSettings = [NSMutableDictionary dictionaryWithObjectsAndKeys: