How To: Load Content in a UIWebView

From $1
Table of contents
If you want to load content into a UIWebView and have Images and other content links resolve locally, make sure to pass in the URL of the current Bundle Path:

myWebView.LoadHtmlString ("<html><body>Heya!</body></html>", new NSUrl (NSBundle.MainBundle.BundlePath, true));

 

Tag page

Files (0)

 
Page last modified 04:53, 9 Nov 2009 by bryancostanich