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 (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to