UIDeviceComplete
UIDeviceComplete copied to clipboard
UIDevice extensions that fill in the missing pieces.
Regarding: ``` // MARK: - Detecting Screen size in Inches extension Screen { public var sizeInches: Double? { switch (height, scale) { case (480, _): return 3.5 case (568, _):...
When running on an iPhone 12 mini UIDevice.current.dc.screenSize.height = 812 UIDevice.current.dc.screenSize.scale = 3 UIDevice.current.dc.screenSize.sizeInches = 5.8 But with Display Zoom turned on I get these values: UIDevice.current.dc.screenSize.height = 693 UIDevice.current.dc.screenSize.scale...
...and also corrected an error in the `DeviceModel` tests with the iPhone SE 3 and iPhone 13 Pro Max tests.
First of all thanks for your work on this library :) If I'm not mistaken, since `sizeInches` only looks at the screen's `height`, it can be wrong about the device's...
Adds: - iPad Air M2 11 & 13 - iPad Pro M4 11 & 13
Adds: - iPad Air M2 11 & 13 - iPad Pro M4 11 & 13
Adds: - iPad Air M2 11 & 13 - iPad Pro M4 11 & 13
## Summary I think the only item that needs to be added is `NSPrivacyCollectedDataTypeDeviceID`.