2011-02-06, 22:31
Just wondering since xbmc usually adopts to any screen resolution..
cheers!
cheers!
Zeba Wrote:Just wondering since xbmc usually adopts to any screen resolution..
cheers!
davilla Wrote:It is, retinal display requires 'special' tricks to get recognized. it's on the list.
CGFloat scale = 1.0f;
if([UIScreen instancesRespondToSelector: @selector(scale)])
{
scale = [[UIScreen mainScreen] scale];
}
weak Wrote:not that special
Code:CGFloat scale = 1.0f;
if([UIScreen instancesRespondToSelector: @selector(scale)])
{
scale = [[UIScreen mainScreen] scale];
}
davilla Wrote:That not all, you forgot handling EGL and scaling the touch input coordinates.