From 6af7d1249e4336cbfba24b3d96f4397f80f823c7 Mon Sep 17 00:00:00 2001 From: Robson Araujo Date: Thu, 30 May 2019 14:49:51 -0700 Subject: [PATCH] Fix crash on xcode 10.2 --- ios/Classes/InAppBrowserWebViewController.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ios/Classes/InAppBrowserWebViewController.swift b/ios/Classes/InAppBrowserWebViewController.swift index ea2696e9e..5cb4de3e4 100644 --- a/ios/Classes/InAppBrowserWebViewController.swift +++ b/ios/Classes/InAppBrowserWebViewController.swift @@ -63,9 +63,9 @@ typealias NewerClosureType = @convention(c) (Any, Selector, UnsafeRawPointer, B //} class InAppWebView_IBWrapper: InAppWebView { - required convenience init(coder: NSCoder) { + required init(coder: NSCoder) { let config = WKWebViewConfiguration() - self.init(frame: .zero, configuration: config, IABController: nil, IAWController: nil) + super.init(frame: .zero, configuration: config, IABController: nil, IAWController: nil) self.translatesAutoresizingMaskIntoConstraints = false } }