Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working with iOS 5? #3

Open
maddien2k3 opened this issue Nov 20, 2011 · 1 comment
Open

Not working with iOS 5? #3

maddien2k3 opened this issue Nov 20, 2011 · 1 comment

Comments

@maddien2k3
Copy link

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!

@CocoaPriest
Copy link

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants