Adding Local Content

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
    • No tags

    Files (0)

     
    Page last modified 03:21, 26 Nov 2009 by Miguel