Pregunta

I am using the ionic framework on top of cordova. The image display when I view the app through the browser but the iOS simulator just shows a broken image link.

The image src is coming through the ng-src directive:

<img width="100%" ng-src="{{imageUrl}}" />

I am creating the web server with python -m SimpleHTTPServer 8000

I am running the iOS simulator with cordova emulate ios and cordova build ios && cordova emulate ios every once in a while which seems to do something sometimes.

¿Fue útil?

Solución

try removing the first / img/maps/street

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top