|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|
|Why am I getting such a low Local Network file transfer speed?||alexreich||Mac Basics and Help||1||Apr 13, 2012 01:48 AM|
|Help with localization (using nib files)||Nekbeth||iPhone/iPad Programming||2||Jun 23, 2011 08:47 AM|
|How to localize a plist file?||Nekbeth||iPhone/iPad Programming||10||May 4, 2011 08:40 PM|
All times are GMT -5. The time now is 03:31 AM.