After installing Yosemite and running the following function (taken from the User Guide) I always get “1” instead of “2”. #If TargetCocoa
Declare Function BackingScaleFactor Lib “AppKit” Selector “backingScaleFactor” (target As WindowPtr) As Double
Return BackingScaleFactor(Self) #Else
Return 1 #Endif
Running Mavericks I used to get “2”. Now, since my MacBook is a Retina-Display, I cannot anymore set the right pictures since I always get the pictures set for non-retina.
How to track Retina? Thanks for suggestions,
Carlo
Doh! I filled a feedback report last summer for this <https://xojo.com/issue/34924> The User Guide is wrong and provides advice that Apple themselves tell people not to use.