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

cmezak

macrumors member
Original poster
Jun 4, 2006
31
0
Hello all,

I'm working with a webView that loads an HTML string with a base url that is a fileURL to the bundle's resource path. The html references images like

Code:
<img src="image5.png">

The images are there. In fact, the images load fine in the simulator. However, on the device they do not. The webView displays the blue question mark box indicating that it can't find the images.

Anybody know why this would be happening in device builds?

Thanks!

- Charlie
 

cmezak

macrumors member
Original poster
Jun 4, 2006
31
0
SOLVED

I have no idea why, but converting the files (images) to another format and then back to png is what solved the problem. Whe a formatting issue would prevent the images from being copied to the .app package, I have no clue.

- Charlie
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.