Browse Source

Loading view added for webview

pull/11/head
yare 3 years ago
parent
commit
3cb152a58c
  1. 3
      GME Remit/Modules/RemittanceModules/OverseasModules/TermsAndCondition/User Interface/View/TermsAndConditionViewController.swift

3
GME Remit/Modules/RemittanceModules/OverseasModules/TermsAndCondition/User Interface/View/TermsAndConditionViewController.swift

@ -59,6 +59,7 @@ class TermsAndConditionViewController: UIViewController {
super.viewDidLoad()
var url: URL?
if fromBeneficiary == true {
self.showLoading()
url = URL(string: "https://mobile.japanremit.com:8443/Document/TermsAndConditions/BeneReg_TermsAndConditions.html")!
} else {
url = URL(string: "https://mobile.japanremit.com:8443/Document/TermsAndConditions/Trx_TermsAndConditions.html")!
@ -228,7 +229,7 @@ extension TermsAndConditionViewController: WKNavigationDelegate, UIScrollViewDel
}
func webView(_ webView: WKWebView, didFinish navigation: WKNavigation!) {
self.hideLoading()
isURLLoaded = true
}

Loading…
Cancel
Save