Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Apple Watch : How to know the screen size?

Tags:

apple-watch

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.

like image 342
Abhishek Bedi Avatar asked Jan 20 '15 10:01

Abhishek Bedi


People also ask

How Apple Watch 44mm is measured?

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.

How big is the 40mm Apple Watch screen?

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.


1 Answers

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; }

like image 159
Abhishek Bedi Avatar answered Oct 19 '22 22:10

Abhishek Bedi