Has anyone successfully used an IKImageBrowserView
with a Retina Mac? What I get is that the image size is wildly misinterpreted. Previously I was using CGImage
images which don't have a logical size, so it makes sense that the browser can't draw the at the right size. However, I've switched to NSImage
, created using -initWithCGImage:size:
and that still doesn't work right.
My images are 244x184 pixels and should be drawn at a logical size of 122x92. When passing 122x92 as the size, they are drawn way too large, at about 180 pixels wide. If I pass exactly half this, 61x46, the size is correct, but the image looks downscaled and not sharp. If I pass 122x92 and run with NSHighResolutionCapable
set to NO
in Info.plist, everything works well.
My conclusion is that IKImageBrowserView
is not Retina compatible even with the 10.10 SDK on a Retina MacBook Pro running OS X 10.11. Or am I missing something? Any pointers would be appreciated!