Fix crash on xcode 10.2

This commit is contained in:
Robson Araujo 2019-05-30 14:49:51 -07:00
parent da99de051a
commit 6af7d1249e
1 changed files with 2 additions and 2 deletions

View File

@ -63,9 +63,9 @@ typealias NewerClosureType = @convention(c) (Any, Selector, UnsafeRawPointer, B
//} //}
class InAppWebView_IBWrapper: InAppWebView { class InAppWebView_IBWrapper: InAppWebView {
required convenience init(coder: NSCoder) { required init(coder: NSCoder) {
let config = WKWebViewConfiguration() 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 self.translatesAutoresizingMaskIntoConstraints = false
} }
} }