cordova IOS app, failed to load image from url

别说谁变了你拦得住时间么 提交于 2020-06-29 03:41:16

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!