现在我用这个来打电话:
private func executeCall(phone:String){
if let url = URL(string: "tel://" + phone), UIApplication.shared.canOpenURL(url) {
if #available(iOS 10, *) {
UIApplication.shared.open(url)
} else {
UIApplication.shared.openURL(url)
}
}
}
它有效,但我想更改文字:"取消"并且"打电话"用不同的语言。我们怎么能这样做?