[ios2]判断retina 屏幕

判断是否retina屏幕

#define isRetina ([UIScreen instancesRespondToSelector:@selector(currentMode)] ? CGSizeEqualToSize(CGSizeMake(640, 960), [[UIScreen mainScreen] currentMode].s

posted @ 2013-10-08 08:54  金建彤  阅读(198)  评论(0编辑  收藏  举报