Post

Replies

Boosts

Views

Activity

WKWebView issue on iOS 14.4.1 - I suspect that accepting cookies is disabled
In iOS 14.4 there was a problem with login via login.microsoftonline.com in our app using the WKWebView component - it showed empty page on iPhone SE. At the same time login to this site worked perfectly in Safari on the same iphone. We were able to fix this issue by adding this line to our code before the code which loads the site: HTTPCookieStorage.shared.cookieAcceptPolicy = .always Apple docs state that default value is .always but setting this value manually actually fixed the issue on iOS 14.4. On iOS 14.4.1 this solution stopped working and login.microsoftonline.com shows empty white page again for one of our users. Can someone give us an idea how it could be fixed? I suspect that it could be similar cookie issue.
1
0
1.2k
Mar ’21