NSLog(@"systemVersion:%@",[[UIDevice currentDevice]systemVersion]);spa
获取不一样尺寸屏幕大小:3d
NSLog(@"height:%f",[[UIScreen mainScreen]bounds].size.height);io
若是用这个方法(self.view.bounds.size.height)获取屏幕大小会随着屏幕试图加载的时候,时间顺序变换,因此不稳定。方法