NSData imageData = NSData.FromFile(NSBundle.MainBundle.PathForResource("test","gif"));
string path = NSBundle.MainBundle.BundlePath;
NSUrl baseURL = new NSUrl(path,true);
try
{
_backgroundWebView.LoadData(imageData, "image/gif", "utf-8", baseURL);
}
catch (Exception ex)
{
}
string path = NSBundle.MainBundle.BundlePath;
NSUrl baseURL = new NSUrl(path,true);
try
{
_backgroundWebView.LoadData(imageData, "image/gif", "utf-8", baseURL);
}
catch (Exception ex)
{
}