IPHONE:如何覆盖“取消\呼叫弹出框”以编程方式拨打号码时会出现这种情况吗?

发布于 2024-08-06 06:10:07 字数 258 浏览 5 评论 0原文

我目前正在开发一个项目,该项目在某些部分调用用户选择的一些内容。我使用下面的代码片段来拨打该号码。

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:newNumberString]];

问题是弹出的框有带有英文标题的按钮,但我的程序不是英文的,所以有点糟糕:(

有没有办法覆盖取消\呼叫按钮上的标题,或者可能是另一种方法通过代码拨打号码?

I'm currently developing a project that at some part calls a number of the user's choosing. I use the snippet below to call the number.

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:newNumberString]];

The problem is that the box that pops up has buttons with titles in English, but my program is not in English, so it kinda sucks :(

Is there a way to override the title on the cancel\call buttons or maybe an alternative way of dialing a number from code?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

何必那么矫情 2024-08-13 06:10:07

在我的应用程序中,系统正确本地化了标题/按钮。您应该尝试将 iPhone 设置为您想要使用的语言。

In my application the title/buttons are correctly localized by the system. You should try to set your iPhone to the language you want to use.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文