ios 获取屏幕的属性

屏幕尺寸     CGRect screen = [UIscreen mainScreen].bounds

状态栏尺寸  CGRect rect = [[UIApplication sharedApplication] statusBarFrame];

app尺寸     CGRect  r = [UIScreen mainScreen].applicationFrame;

posted @ 2016-03-21 14:12  逆的态度  阅读(121)  评论(0编辑  收藏  举报