-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
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
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels