UIScreen
public extension UIScreen
-
The number of pixels per inch for this device
Declaration
Swift
static let pixelsPerInch: CGFloat?
-
The number of pixels per centimeter for this device
Declaration
Swift
static let pixelsPerCentimeter: CGFloat?