目前使用以下代码播放mp3:
NSString *stream = @"http://k003.kiwi6.com/hotlink/o4ywrn3ejt/Exodus.mp3";
NSURL *url = [NSURL URLWithString:stream];
NSURLRequest *urlrequest = [NSURLRequest requestWithURL:url];
[webview loadRequest:urlrequest];
这在模拟器中工作正常但是当在设备上运行时返回
Starting WebFilter logging for process BVC
2017-05-24 22:41:00.596535 BVC[9762:4179522] WF:_userSettingsForUsermobile: {
filterBlacklist = (
);
filterWhitelist = (
);
restrictWeb = 1;
useContentFilter = 0;
useContentFilterOverrides = 0;
whitelistEnabled = 0;
}
2017-05-24 22:41:00.599518 BVC[9762:4179522] WF: _WebFilterIsActive returning: NO
允许任意加载设置为是
任何想法或想法都会受到赞赏!
答案 0 :(得分:0)
打开:产品>方案>编辑方案
点击run Then ARGUMENTS
在Arguments中单击Environment Variables
将其粘贴到
中