Skip to content

Commit 6af7d12

Browse files
committed
Fix crash on xcode 10.2
1 parent da99de0 commit 6af7d12

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ios/Classes/InAppBrowserWebViewController.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ typealias NewerClosureType = @convention(c) (Any, Selector, UnsafeRawPointer, B
6363
//}
6464

6565
class InAppWebView_IBWrapper: InAppWebView {
66-
required convenience init(coder: NSCoder) {
66+
required init(coder: NSCoder) {
6767
let config = WKWebViewConfiguration()
68-
self.init(frame: .zero, configuration: config, IABController: nil, IAWController: nil)
68+
super.init(frame: .zero, configuration: config, IABController: nil, IAWController: nil)
6969
self.translatesAutoresizingMaskIntoConstraints = false
7070
}
7171
}

0 commit comments

Comments
 (0)