NSLog(@"systemVersion:%@",[[UIDevice currentDevice]systemVersion]);
获取不同尺寸屏幕大小:
NSLog(@"height:%f",[[UIScreen mainScreen]bounds].size.height);
如果用这个方法(self.view.bounds.size.height)获取屏幕大小会随着屏幕试图加载的时候,时间顺序变换,所以不稳定。
获取不同尺寸3.5/4.0的屏幕大小和系统ios 6/7的版本,布布扣,bubuko.com
获取不同尺寸3.5/4.0的屏幕大小和系统ios 6/7的版本
原文:http://blog.csdn.net/a1054949000/article/details/20061235