Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Danneman101

macrumors 6502
Original poster
Aug 14, 2008
361
1
Ive got at webView that loads a local html-file, contained in the Resources-folder.

However, the html-file is supposed to have both image (.png) and sound (.wav) loaded locally as well. But even though Ive placed these resources in the Resources-folder together with the html-fil, they are not loaded and simply ignored by the browser. Text and other stuff is visible, though.

The search-path from the html-file for instance for an image is:
Code:
<img src="myimage.png">

Nothing fancy.

How can I load these resources as well?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.