Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The cancel button is not Localized in HPPViewController #37

Open
urmilsetia-league opened this issue Jun 20, 2022 · 0 comments
Open

The cancel button is not Localized in HPPViewController #37

urmilsetia-league opened this issue Jun 20, 2022 · 0 comments

Comments

@urmilsetia-league
Copy link

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
    }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant