Skip to content

Instantly share code, notes, and snippets.

@bbtyou
bbtyou / WKCookieWebView.swift
Created Dec 9, 2020 — forked from novemberfiveco-gists/WKCookieWebView.swift
A WKWebView subclass that passes cookies after a 302 redirect response.
View WKCookieWebView.swift
//
// WKCookieWebView.swift
//
// Created by Jens Reynders on 30/03/2018.
// Copyright (c) 2018 November Five
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell