Hello,
 
I have a problem to load URL containing fragment into UIWebView. I want to
load a local html file into UIWebView. I tried to do it in this way:
 
NSUrl url = NSUrl.FromFilename(@"/Users/gep/Library/Application
Support/iPhone
Simulator/4.3/Applications/582D1D4E-9496-4352-8CE1-8520A842FBA8/Documents/Content/Hermes_filter/Ergaenzendes/index.htm#home");
 
But without any success. But when I used url without fragment, it worked
correctly:
 
NSUrl url = NSUrl.FromFilename(@"/Users/gep/Library/Application
Support/iPhone
Simulator/4.3/Applications/582D1D4E-9496-4352-8CE1-8520A842FBA8/Documents/Content/Hermes_filter/Ergaenzendes/index.htm");

this.webView.LoadRequest(new NSUrlRequest(url)); 

Can you suggest me a way how to load URL containing fragment?
 
Thanks,
Peter

--
View this message in context: 
http://monotouch.2284126.n4.nabble.com/How-to-load-NSURL-which-contains-hash-fragment-with-UIWebView-tp3846690p3846690.html
Sent from the MonoTouch mailing list archive at Nabble.com.
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to