How to use WebView in Xamarin.Mac
I need to authenticate a user in my application and for that I want to create another window using the Cocoa WebView control. The problem is that I cannot do anything with this control from C # code and cannot find any documentation for it :(
Trying to use
WebViewWindow.MainFrame.LoadRequest (Request);
But this rules out some kind of exception. How do I open the url correctly in this WebView? Maybe using something like GeckoFX is a good idea?
Also I will need to return the url the user was redirected to. How to do it?
Thank.
+3
source to share