Forum Xamarin.Mac

Announcement:

The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

How to load WkWebView in Xamarin.Mac ?

DineshDDineshD Member ✭✭
edited February 2020 in Xamarin.Mac

Hi folks,
i am getting object reference error when i load webview.

web1.LoadHtmlString("<h1>this is header</h1>", NSBundle.MainBundle.BundleUrl);
or
web1.LoadHtmlString("<h1>this is header</h1>", Null);

Regards,
Dinesh D

Tagged:
Sign In or Register to comment.