UILocalizedIndexedCollat​​ion日语给联系人/音乐应用程序不同的顺序 [英] UILocalizedIndexedCollation for Japanese giving different ordering to contacts/music apps

查看:125
本文介绍了UILocalizedIndexedCollat​​ion日语给联系人/音乐应用程序不同的顺序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

UILocalizedIndexedCollat​​ion似乎在日语iOS设备上返回的结果与在内置联系人/音乐应用中看到的结果不同。

UILocalizedIndexedCollation seems to returning a different result on a Japanese iOS device than that seen in the built in Contacts / Music apps.

请注意, t 有关日语在索引中根本不显示的常见问题。我得到日本假名部分,但是与联系人等相比,索引的顺序不正确。

Note that this isn't the usual question about Japanese not displaying at all in the index. I'm getting the Japanese kana section, but the order of the index is incorrect when compared to Contacts etc.

这里是屏幕 - 在左边,具有假名的音乐应用程式在右侧,我得到的结果:

Here's screens - on the left, the desired result shown in the music app with the kana names first - on the right, the result I'm getting:

UILocalizedIndexedCollat​​ion似乎没有任何明显的方式来配置它,所以我不知道什么预期的方式来调整排序是,并且很多谷歌不显露任何答案虽然我也不是唯一的人有这个问题)。

UILocalizedIndexedCollation doesn't appear to have any obvious way to configure it, so I'm not sure what the expected way to adjust the ordering is, and a lot of Googling isn't revealing any answers (though I'm also not the only person having this problem). Any pointers in the right direction would be greatly appreciated.

推荐答案

好吧,如果你看看音乐应用程序中的表,拉丁语A字符在上面无论如何。我假设苹果修改边栏的数组,以显示当前语言在另一个顶部,即使他们仍然是底部。

Well, if you look at the Table in the Music App it shows the latin "A" character up the top anyway. I suppose Apple modified the Array of the Sidebar to show the current language on top of the other one, even though they still are down the bottom.

无论如何,这可能更容易只是离开它的方式。您必须编辑部分选择代码和所有。

Regardless, it's probably easier to just leave it the way it is. You'd have to edit section selection code and all.

这篇关于UILocalizedIndexedCollat​​ion日语给联系人/音乐应用程序不同的顺序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆