I have a 15" MBP with Retina display and I can’t seem to find the correct results from my Xojo Cocoa declare to recognize it. I am supposed to return a value of 2 for Retina as I have read on the XOjo Blog and on Apple’s web site. I always get 1 even though I have a retina display.
Any advice would be appreciated as I am just venturing into the details of Retina over the last few days.
Declare Function BackingScaleFactor Lib "AppKit" Selector "backingScaleFactor" (target As WindowPtr) As Double Return BackingScaleFactor(Self)