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

merrickdrfc

macrumors 6502
Original poster
Jan 8, 2011
474
133
Doncaster / Berlin
Hi,

iOS programming newbie here, could someone please inform me how I could use local images (stored in project) in a HTML file that is displayed in a UIWebView?

Thanks,
 
:confused:

A relative path from the location of the HTML file. Standard, normal, rules apply. In the simplest case if the image is in the same folder as the HTML file just the image filename (remember the iOS file system is case sensitive).
 
:confused:

A relative path from the location of the HTML file. Standard, normal, rules apply. In the simplest case if the image is in the same folder as the HTML file just the image filename (remember the iOS file system is case sensitive).

Thanks, sorry problem solved, I was just being an idiot! Thanks again :)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.