Is this possible? I want the number of inches, not the number of pixels. I know it is approximately 160 ppi. But not exactly.
Nobody said about fixedCoordinateSpace. In Swift 3 to get the screen dimensions in a portrait-up orientation you should use: UIScreen.main.fixedCoordinateSpace.bounds
UIScreen.main.fixedCoordinateSpace.bounds