UILocalizedIndexedCollation returns wrong index for alphabets when device is set to Arabic
| Originator: | singjie | ||
| Number: | rdar://23141976 | Date Originated: | 16-Oct-2015 |
| Status: | Open | Resolved: | |
| Product: | iOS | Product Version: | |
| Classification: | Reproducible: |
Summary: UILocalizedIndexedCollation returns wrong index when device is in Arabic. Method name: `sectionForObject:collationStringSelector:` Arabic words/characters map correctly, but is wrong for alphabets. e.g. A phrase beginning with "A" is mapped to "B" index. "Axxx" -> "B" "Bxxx" -> "C" Steps to Reproduce: 1. Set device's language to Arabic. 2. Build and Launch Demo App 3. Crashes at Assertion Expected Results: It should return the correct index Actual Results: "Axxx" -> "B" "Bxxx" -> "C" Version: iOS 9.0.2 Notes: Configuration: iPhone 6 Attachments: 'collationbug.zip' was successfully uploaded.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!