You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
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!
The text was updated successfully, but these errors were encountered: