Initial version.

This commit is contained in:
Oliver Hauff 2021-05-13 20:16:41 +02:00
parent e4fb48f6ab
commit 10dbeb5a90
737 changed files with 61885 additions and 0 deletions

View file

@ -0,0 +1,18 @@

using Foundation;
using TINK.Model.Device;
[assembly: Xamarin.Forms.Dependency(typeof(TINK.iOS.Device.WebView))]
namespace TINK.iOS.Device
{
public class WebView : IWebView
{
/// <summary> Clears the cookie cache for all web views. </summary>
public void ClearCookies()
{
NSHttpCookieStorage CookieStorage = NSHttpCookieStorage.SharedStorage;
foreach (var cookie in CookieStorage.Cookies)
CookieStorage.DeleteCookie(cookie);
}
}
}