|
|
@ -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 |
|
|
|
} |
|
|
|
|
|
|
|