📜  uiscreen 错误宽度 - 无论代码示例

📅  最后修改于: 2022-03-11 15:00:19.478000             🧑  作者: Mango

代码示例1
CGRect frame_screen = [[UIScreen mainScreen] bounds];
CGRect frame_view = CGRectMake(0,0,frame_screen.size.width,frame_screen.size.height - [[UIApplication sharedApplication] statusBarFrame].size.height);