Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Thread Tools Search this Thread Display Modes
Old Aug 22, 2010, 07:36 PM   #1
macrumors member
Join Date: Jul 2008
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);
I am running this on the iPhone Simulator with base SDK 4.0.

Is this a problem with the simulator, Apple's APIs or am I doing something wrong?

Stratoukos is offline   0 Reply With Quote

MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
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 05:20 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013,, LLC