Share via

Xamarin Mac application - Calling C# code from the WebView event or through Javascript

Sandeep Vaidya 6 Reputation points
2021-05-05T17:15:54.743+00:00

I have a requirement to call back C# code from the Javascript of the Html loaded on the WebView. I used the customize WebView code to add additional method to register call back which is working fine on Windows, however the same code is not working in Macintosh application.

Do we need to do any specific changes to make it work fine on Macintosh platform as well?

Developer technologies | .NET | Xamarin

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.