Not working with iOS 5? #3

maddien2k3 opened this Issue Nov 20, 2011 · 1 comment

2 participants


I tried the test sample and it only gives me the original string, without hyphens.

NSString* text =@"It was in the fourth year of my apprenticeship to Joe, and it was a Saturday night.";
NSLocale* en =[[[NSLocale alloc] initWithLocaleIdentifier:@"en_US"] autorelease];
NSString* hyphenated =[text stringByHyphenatingWithLocale:en];

Can you confirm this?

Just tested with iOS 4.3: works like a charm!


I can't confirm if it worked with 4.3, but yeah, it doesn't work under 5.x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment