开发者

uiwebview baseurl directory

I have a directory images with lots of sub folders. 100,101 etc.,

How should my img tag and the uiwebview's base URL should be ?

<img href="/101/1000/238.jpg"> </开发者_运维问答img>?


Say you have the following file structure:

index.html
101/a.jpg
102/b.jpg

The index.html can contain relative path to the images, e.g.

<img src="101/a.jpg" />

I hope that answers you question. If not, please give more detail about what you want to do, e.g. do you want to load a web page in the public domain, such as http://www.somesite.com?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜