1

I want to change the language of the page indicator, it should be german and not english. If you scroll inside of a pdf file it shows you "1 of 6" that's what i want to change.

Any ideas?

import UIKit
import WebKit


class PDFViewController: UIViewController {
    var pdfName: String?
    @IBOutlet weak var wkWebView: WKWebView!

    override func viewDidLoad() {
        super.viewDidLoad()
        let pdfFilePath = Bundle.main.url(forResource: pdfName!, withExtension: "")
        let urlRequest = URLRequest.init(url: pdfFilePath!)
        wkWebView.load(urlRequest)
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
    }
}
4

1 回答 1

0
Xcode Project -> Info -> Localizations add German 

was the answer! Thanks @Retterdesdialogs

于 2018-11-19T15:21:15.037 回答