From 22f339cb545576eedce200d0e3662f29f13e7486 Mon Sep 17 00:00:00 2001 From: Damon Date: Mon, 13 Jul 2020 14:08:15 +0800 Subject: [PATCH] =?UTF-8?q?demo=E6=92=AD=E6=94=BE=E7=BD=91=E7=BB=9C?= =?UTF-8?q?=E9=9F=B3=E4=B9=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit demo播放网络音乐 --- HDCommonTools/ViewController.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/HDCommonTools/ViewController.m b/HDCommonTools/ViewController.m index e69c872..1ecd3ce 100644 --- a/HDCommonTools/ViewController.m +++ b/HDCommonTools/ViewController.m @@ -141,7 +141,8 @@ - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath case 2:{ switch (indexPath.row) { case 0:{ - NSString * musicFilePath = [[NSBundle mainBundle] pathForResource:@"空谷" ofType:@"wav"]; +// NSString * musicFilePath = [[NSBundle mainBundle] pathForResource:@"空谷" ofType:@"wav"]; + NSString *musicFilePath = @"https://file-fat.shinningmorning.com/voice/voice_xiongdi.m4a"; [[HDCommonTools sharedHDCommonTools] playMusicWithMusicFilePath:musicFilePath withRepeat:true]; } break;