objective c - backScalingFactor on Retina display not showing 2.0 -
here's code i'm using backing scale factor window:
gcfloat backingscalefactor = [[nsscreen mainscreen] backingscalefactor]; nslog(@"scale factor %.2f", backingscalefactor); and have in info.plist:
<key>nshighresolutioncapable</key> <true/> i've tried putting different variations of above in info.plist also, these:
<key>nshighresolutioncapable</key> <string>true<string> and
<key>nshighresolutioncapable</key> <string>true<string> i still don't correct backingscalefactor, though i'm on retina display. have app give me 2.0 backingscalefactor, i'm wondering if there else i'm missing?
Comments
Post a Comment