Skip to content

Commit

Permalink
Merge branch 'release/0.0.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
kof.kofktu committed Sep 8, 2017
2 parents cb77f9c + b8c5312 commit e04a80a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion WKCookieWebView.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Pod::Spec.new do |s|
#

s.name = "WKCookieWebView"
s.version = "0.0.1"
s.version = "0.0.2"
s.summary = "WKCookieWebView"

# This description is used to generate tags and improve search results.
Expand Down
2 changes: 1 addition & 1 deletion WKCookieWebView/WKCookieWebView/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>0.0.1</string>
<string>0.0.2</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
Expand Down
4 changes: 2 additions & 2 deletions WKCookieWebView/WKCookieWebView/WKCookieWebView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ open class WKCookieWebView: WKWebView {
public init(frame: CGRect, configurationBlock: ((WKWebViewConfiguration) -> Void)? = nil) {
HTTPCookieStorage.shared.cookieAcceptPolicy = .always
let configuration = WKWebViewConfiguration()
super.init(frame: frame, configuration: configuration)
configuration.processPool = WKCookieProcessPool.pool
configuration.userContentController = userContentWithCookies()
configurationBlock?(configuration)
super.init(frame: frame, configuration: configuration)
configuration.userContentController = userContentWithCookies()
navigationDelegate = self
}

Expand Down

0 comments on commit e04a80a

Please sign in to comment.