ios - Work with relative URLs when using UIWebView's -loadData:MIMEType:textEncodingName:baseURL: -


how give baseurl: when using uiwebview's loaddata:mimetype:textencodingname:baseurl:?

when baseurl set nil, relative urls (html pages within tree) not working @ all.

it path resources:

[webview loaddata:data mimetype:type textencodingname:name baseurl:[nsurl urlwithstring:pathtoresources]]; 

Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -