km6zla
km6zla

Reputation: 4877

How do I get images to display in iOS simulator?

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.

Upvotes: 1

Views: 1472

Answers (1)

Dawson Loudon
Dawson Loudon

Reputation: 6029

try removing the first / img/maps/street

Upvotes: 1

Related Questions