I would like to understand how we can know whether the apple watch is 38mm or 42mm so that I can programmatically set the images for UI elements.
Display. The “44mm” in this size directly refers to the vertical (not horizontal) length of the display. That works out to around 448 x 368 pixels. If you're looking for a larger display size, this is the Watch to choose.
The 40 mm watch has a height of 1.57” (40 mm), width of 1.34” (34 mm), depth of . 42” (10.7 mm), and weighs 1.4 oz (39.8 g). The screen size is 1.533” (39 mm) diagonal with a resolution of 324 x 394 px at 326 ppi.
I figured it out in WKInterfaceDevice
class
NSLog(@"%@", CGRectCreateDictionaryRepresentation([WKInterfaceDevice currentDevice].screenBounds));
42mm { Height = 195; Width = 156; X = 0; Y = 0; }
38mm { Height = 170; Width = 136; X = 0; Y = 0; }
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With