如何本地化标准 iOS 控件?
我正在编写一个 iPhone 应用程序,它有一个样式为 UITableViewCellEditingStyleDelete 的表格单元格。这会导致单元格显示为左侧带有一个包含减号的红色圆圈。到目前为止还好。它的右侧还有一个“删除”按钮(带有“删除”文本的矩形按钮)。我需要更改文本“删除”以本地化为其他语言。这段文字是在哪里定义的?
I'm writing an iPhone app that has a table cell with the style UITableViewCellEditingStyleDelete. This causes the cell to be displayed with a red circle enclosing a minus sign on the left side. Fine so far. It also has a Delete button (rectangular button with the text "Delete") on the right side. I need to change the text "Delete" for localization to other languages. Where is this text defined?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您应该查看
UITableViewDelegate Protocol
中的以下方法:请参阅 文档。
You should take a look at the following method in the
UITableViewDelegate Protocol
:See the docs.