#define IS_RETINA ([[UIScreen mainScreen] respondsToSelector:@selector(displayLinkWithTarget:selector:)] && ([UIScreen mainScreen].scale == 2.0))
if(IS_RETINA)
{
// Retina display
} else {
// non-Retina display
}
Showing posts with label @2x. Show all posts
Showing posts with label @2x. Show all posts
Subscribe to:
Posts (Atom)