from objc_util import ObjCClass scale = ObjCClass('UIScreen').mainScreen().scale() print({2: 'Retina', 3: 'iPhone Plus'}.get(scale, 'Non retina'))