问题
Trying to load image from url in iphone Cordova app, added permissions in config.xml
config.xml:
<allow-navigation href="https://i.ytimg.com/*"/>
<access origin="https://i.ytimg.com" subdomains="true" />
html file:
<img data-bind="attr:{src: iconSource, id: 'thumbnailImage' + videoId}" src="https://i.ytimg.com/vi/" id="thumbnailImage1">
Above code is working fine in Android but its not loading any image from url in iPhone.
来源:https://stackoverflow.com/questions/62509413/cordova-ios-app-failed-to-load-image-from-url