You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When onUpdateCookieStorage event happened i will call:
HTTPCookieStorage.shared.cookies?.forEach { cookie in
...
}
But cookie has old values. Only when i call:
DispatchQueue.main.asyncAfter(deadline: .now() + 2) {
HTTPCookieStorage.shared.cookies?.forEach { cookie in
...
}
}
I will receive actual cookies. What i do wrong? How can i wait for actual cookies
But when i call it after 1 second it's not enough :(
The text was updated successfully, but these errors were encountered:
When onUpdateCookieStorage event happened i will call:
HTTPCookieStorage.shared.cookies?.forEach { cookie in
...
}
But cookie has old values. Only when i call:
DispatchQueue.main.asyncAfter(deadline: .now() + 2) {
HTTPCookieStorage.shared.cookies?.forEach { cookie in
...
}
}
I will receive actual cookies. What i do wrong? How can i wait for actual cookies
But when i call it after 1 second it's not enough :(
The text was updated successfully, but these errors were encountered: