diff --git a/README.md b/README.md index 00735c2..dca5766 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ seatsio-ios allows rendering seats.io seating charts inside an iOS application. Add this to your podfile: ``` -pod 'seatsio', '15.2.0' +pod 'seatsio', '15.4.0' ``` ## Usage @@ -33,6 +33,7 @@ class SeatingChartSample: UIViewController { override func viewDidDisappear(_ animated: Bool) { seatsio.cleanup() + seatsio = nil } } ``` diff --git a/seatsio-ios/SeatsioWebView.swift b/seatsio-ios/SeatsioWebView.swift index 2823867..bfc270a 100644 --- a/seatsio-ios/SeatsioWebView.swift +++ b/seatsio-ios/SeatsioWebView.swift @@ -184,6 +184,7 @@ public class SeatsioWebView: WKWebView { public func cleanup() { bridge.cleanUp() + bridge = nil } } diff --git a/seatsio.podspec b/seatsio.podspec index 73c41c8..83183ac 100644 --- a/seatsio.podspec +++ b/seatsio.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'seatsio' - s.version = '15.2.0' + s.version = '15.4.0' s.summary = 'The official Seats.io library for iOS' s.homepage = 'https://github.com/seatsio/seatsio-ios' s.license = { :type => 'MIT', :file => 'LICENSE' }