IOS 状态栏的尺寸

状态栏尺寸的获取方式:

CGRect statusFrame;
statusFrame = [[UIApplication sharedApplication] statusBarFrame];
CGFloat statusHeight = statusFrame.size.height;
CGFloat statusWidth = statusFrame.size.width;


comments powered by Disqus