我想更改页面指示器的语言,它应该是德语而不是英语。如果您滚动到pdf文件中,则会显示“ 6之1”,这就是我要更改的内容。
有什么想法吗?
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()
}
}
答案 0 :(得分:0)
Xcode Project -> Info -> Localizations add German
是答案! 谢谢@Retterdesdialogs