You build action is "Content" for "Anleitung.html"?
B.
On 10.08.2011, at 02:08, helusoft wrote:
> Hi at all,
>
> with this code
>
> wv = new UIWebView(new
> RectangleF(0,0,contentview.Bounds.Width,contentview.Bounds.Height));
> NSUrl localFile = NSUrl.FromFilename("Anleitung.html");
> NSUrlRequest request = new NSUrlRequest(localFile);
> wv.LoadRequest(request);
> wv.ScalesPageToFit = true;
> this.contentview.AddSubview(wv);
>
> i'll see always only a blank screen.
>
> When i read from local string or from the web, i'll see the content in the
> WebView.
> What's wrong, or is this a bug ???
>
> Any ideas or help ?????
>
> MD = 2.6b3; MT = 4.0.4.1; Xcode= 3.2.6 on Snow Leopard
>
> Thanks
>
> Helmut
>
> --
> View this message in context:
> http://monotouch.2284126.n4.nabble.com/No-Content-in-UIWebView-from-Local-File-tp3731667p3731667.html
> Sent from the MonoTouch mailing list archive at Nabble.com.
> _______________________________________________
> MonoTouch mailing list
> [email protected]
> http://lists.ximian.com/mailman/listinfo/monotouch
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch