|Aug 22, 2010, 07:36 PM||#1|
UILocalizedIndexedCollation isn't localized
I am trying to display a list of names in an indexed table view. Since I can't know the users' localization settings, I tried to use UILocalizedIndexedCollation.
The problem is that no matter what the language/regional settings are set to, the array returned by UILocalizedIndexedCollation always contains the english letters A-Z plus the # symbol. I tried French, German and Greek but I always got back the same array.
I am using the Window-based app template with the following code added in the application:didFinishLaunchingWithOptions: method.
NSArray *arr = [[UILocalizedIndexedCollation currentCollation] sectionIndexTitles]; NSLog(@"%@", arr);
Is this a problem with the simulator, Apple's APIs or am I doing something wrong?
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|iOS Update isn't Notifying Me And isn't Giving Me Red Badge on Settings App help?||Dan50||iPhone Tips, Help and Troubleshooting||10||Apr 23, 2014 01:34 AM|
|Please help. ML isn't working right for me||karbowaboshots||OS X||1||Feb 12, 2013 05:31 PM|
|Abbreivating long localized strings?||samdev||iPhone/iPad Programming||5||Aug 28, 2012 05:05 PM|
|Creating a localized table index on the fly||idelovski||iPhone/iPad Programming||5||Jul 19, 2012 07:25 PM|
|I hope these kernel panics are localized to my retina macbook pro||bryanl||MacBook Pro||10||Jun 17, 2012 07:07 PM|
All times are GMT -5. The time now is 03:24 PM.