我想更改页面指示器的语言,它应该是德语而不是英语。如果您在 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()
}
}
最佳答案
Xcode Project -> Info -> Localizations add German
就是答案! 谢谢@Retterdesdialogs
关于swift - Q : How to change language PDF page indicator?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53370127/