use points not pixels when determining how short a device is

pull/1/head
Michael Kirk 7 years ago
parent 14741c1dca
commit b0978abd01

@ -36,7 +36,7 @@ public extension UIDevice {
@objc
public var isShorterThanIPhone5: Bool {
return UIScreen.main.nativeBounds.height < 1136
return UIScreen.main.bounds.height < 568
}
@objc

Loading…
Cancel
Save