摘要:
#define iPhone5 ([UIScreen instancesRespondToSelector:@selector(currentMode)] ? CGSizeEqualToSize(CGSizeMake(640, 1136), [[UIScreen mainScreen] currentMode].size) : NO)-(void)viewDidAppear:(BOOL)animated{ if (iPhone5) { NSLog(@"555555"); } else { NSLog(@"noooooo"); }}方法二... 阅读全文