How can I get the Apple Watch Clock 24-Hour time setting in a watch application.

Is there a way to get the setting in the Apple Watch application under 'Clock' to get the 24-Hour Time toggle? I can get the phone's version by using


let formatString: NSString = NSDateFormatter.dateFormatFromTemplate("jj", options: 0, locale: NSLocale.currentLocale())!

var hasAMPM = formatString.containsString("a")


but that doesn't give me what specifically the watch has set? I see the top right time changes correctly and the Calendar app on watch uses it too, but cannot find how to use in my app to stay consistent with the setting.

Hi,


I currently don't have an Watch so I can't test it myself, but did you check the AMSymbol property of an NSDateFormatter object.

        NSDateFormatter* df = [[NSDateFormatter alloc] init];
        df.locale = [NSLocale currentLocale];
        if ([df.AMSymbol ...


Dirk

That didn't do it...always returned 'AM'.

How can I get the Apple Watch Clock 24-Hour time setting in a watch application.
 
 
Q