ios - UILocalizedIndexedCollat​​ion 和非英语索引

标签 ios uitableview localization

我在我的应用程序中使用 UILocalizedIndexedCollat​​ion。 我的语言环境设置为俄语,在索引表上我可以看到包含英语和俄语索引的索引列表。顺序始终相同 - 英文字母 -> 俄文字母,即使我没有任何英文值。 是否可以在索引列表中将俄语字母放在英文字母上方(就像在“通讯录”应用中所做的那样)?

最佳答案

在这里查看 UILocalizedIndexedCollation only returns an English collation .你有 .lproj 吗?如果是这样,请确保您至少在 bundle 中拥有该文件夹。

关于ios - UILocalizedIndexedCollat​​ion 和非英语索引,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5700658/

相关文章:

ios - 重用静态 TableView (iOS)

c# - 在设计时更改 AppResources

ios - 如何使用 UITableViewHeaderFooterView?

ios - '[[字符串] ]' to expected argument type ' [字符串]'

iOS - 允许我的应用程序的用户从他们自己的客户那里收款吗?

ios - 在 UIViewController 中设置 RootViewController

ios - 更改自定义表格 View 单元格的图像

c# - 使用 Baml 管理本地化

ios7 - Localizable.strings 文件在 Copy Bundle Resources Xcode 5.1 中以红色显示

c++ - ios firebase::App::Create 上的 firebase C++ sdk 返回 nullptr