Question

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.

Was it helpful?

Solution

try removing the first / img/maps/street

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top