判断iphone的屏幕是不是retina屏幕

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

posted on 2012-05-02 14:59  周爃慧  阅读(238)  评论(0编辑  收藏  举报

导航