public override void ViewDidLoad() { base.ViewDidLoad(); EdgesForExtendedLayout = UIRectEdge.None; string aboutUrl = NSBundle.MainBundle.BundlePath + "/About.html"; AboutWebView.LoadRequest(new NSUrlRequest(new NSUrl(aboutUrl, false))); }
public override void ViewDidLoad() { base.ViewDidLoad(); EdgesForExtendedLayout = UIRectEdge.None; var aboutUrl = NSUrl.FromFilename(NSBundle.MainBundle.BundlePath + "/About.html"); AboutWebView.NavigationDelegate = this; AboutWebView.LoadFileUrl(aboutUrl, aboutUrl.RemoveLastPathComponent()); }