In B4a, I can use CookieManager,but in b4i, I have no idea, anybody knows?
regard!
regard!
Sub WebView1_PageFinished (Success As Boolean, Url As String)
Dim no As NativeObject
Dim cookies As List = no.Initialize("NSHTTPCookieStorage").RunMethod("sharedHTTPCookieStorage", Null).RunMethod("cookies", Null)
For Each cookie As NativeObject In cookies
Log($"Name: ${cookie.GetField("name")}, value: ${cookie.GetField("value")}"$)
Next
End Sub