You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The cancel button is not Localized in HPPViewController.
/// The Web View Controller which encapsulates the management of the webivew and the interaction with the HPP web page.
class HPPViewController: UIViewController, WKNavigationDelegate, WKUIDelegate, WKScriptMessageHandler {
var webView: WKWebView?
var delegate: HPPViewControllerDelegate?
override func viewDidLoad() {
super.viewDidLoad()
initialiseWebView()
let cancelButton = UIBarButtonItem(
title: "Cancel",
style: UIBarButtonItem.Style.plain,
target: self,
action: #selector(HPPViewController.closeView)
)
navigationItem.leftBarButtonItem = cancelButton
}
The text was updated successfully, but these errors were encountered:
The cancel button is not Localized in HPPViewController.
The text was updated successfully, but these errors were encountered: