在我的应用中,不支持从服务器下载的少量音频文件。我的Objective-C代码不支持mpeg,x-wav音频格式。如何将它们转换为支持的iOS类型之一?
答案 0 :(得分:0)
您可以将它们导入车库频段,然后以IOS兼容格式导出,例如.m4a或.mp3
答案 1 :(得分:0)
下面的代码对您有用。并且可以根据需要更改outputFileType
<!DOCTYPE html>
<html>
<body>
<h1>My First Google Map</h1>
<div id="googleMap" style="width:100%;height:400px;"></div>
<script>
function myMap() {
var mapProp= {
center:new google.maps.LatLng(51.508742,-0.120850),
zoom:5,
};
var map=new google.maps.Map(document.getElementById("googleMap"),mapProp);
}
</script>
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBu-916DdpKAjTmJNIgngS6HL_kDIKU0aU&callback=myMap"></script>
<!--
To use this code on your website, get a free API key from Google.
Read more at: https://www.w3schools.com/graphics/google_maps_basic.asp
-->
</body>
</html>
参考: -
https://stackoverflow.com/a/41053633
注意: - 未经测试