mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2025-04-21 04:26:29 +02:00
Initial version.
This commit is contained in:
parent
e4fb48f6ab
commit
10dbeb5a90
737 changed files with 61885 additions and 0 deletions
18
TINK/TINK.iOS/Device/WebView.cs
Normal file
18
TINK/TINK.iOS/Device/WebView.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue