|
@ -102,7 +102,7 @@ class ExistingUserKycViewController: UIViewController { |
|
|
override func viewDidLoad() { |
|
|
override func viewDidLoad() { |
|
|
super.viewDidLoad() |
|
|
super.viewDidLoad() |
|
|
self.isFirst = (self.step == .first) |
|
|
self.isFirst = (self.step == .first) |
|
|
let url = URL(string: "http://211.25.249.199:9093/Document/TermsAndConditions/CustomerReg_TermsAndConditions.html")! |
|
|
|
|
|
|
|
|
let url = URL(string: "http://202.166.220.36:8083/Document/TermsAndConditions/CustomerReg_TermsAndConditions.html")! |
|
|
self.termsWebView.load(URLRequest(url: url)) |
|
|
self.termsWebView.load(URLRequest(url: url)) |
|
|
self.termsWebView.scrollView.bounces = false |
|
|
self.termsWebView.scrollView.bounces = false |
|
|
setup() |
|
|
setup() |
|
@ -788,6 +788,7 @@ extension ExistingUserKycViewController: WKNavigationDelegate, UIScrollViewDeleg |
|
|
func setWebViewDelegate() { |
|
|
func setWebViewDelegate() { |
|
|
termsWebView.scrollView.delegate = self |
|
|
termsWebView.scrollView.delegate = self |
|
|
termsWebView.navigationDelegate = self |
|
|
termsWebView.navigationDelegate = self |
|
|
|
|
|
checkButton.isEnabled = false |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
func webView(_ webView: WKWebView, didFinish navigation: WKNavigation!) { |
|
|
func webView(_ webView: WKWebView, didFinish navigation: WKNavigation!) { |
|
|