Locale in Watch
Locale in Watch
- Subject: Locale in Watch
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Thu, 16 Feb 2017 17:34:36 +0700
I use WKInterfaceDate / WKInterfaceTimer in a wach app (3.1.3).
I would like to set the Locale - but see no way to do so.
The only thing I did accomplish is to set the calendar of WKInterfaceDate according to the locale.
In macOS I would use:
NSDateFormatter *dateFormatter = [ [ NSDateFormatter alloc ] init];
dateFormatter.locale = [ NSLocale localeWithLocaleIdentifier: someLocaleID ];
…
NSString *dateForDisplay = [ dateFormatter stringFromDate: someDate ];
Is there a way to make the watch app use a different locale?
Gerriet.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden