I notice a little annoyance when working with local files in UIWebview and hope there is an easy way around this problem. In a simplified example, I can say that in my xCode project I have a folder called "WebProject" that contains an html file and a subfolder called "images" where the images are located. The html file refers to images, as you would expect: src = "images / MYIMAGE.jpg", for example, which works just dandy if this is where the regular web page is. However, when loading an html file in UIWebview, this image will not be displayed, because it seems that all the files are simply loaded into one large package folder (so the link to the image is actually: src "MyIMAGE.jpg"). In any case, in order to ensure the directory structure of these files in the main set, so that this does not happen? Thanks!
iphone uiwebview
Keithcomito
source share