在你的pch文件中加上下面的代码就可以了
define IS_IPhoneX_All ([UIScreen mainScreen].bounds.size.height == 812 || [UIScreen mainScreen].bounds.size.height == 896)
//状态栏、导航栏、标签栏高度
在你的pch文件中加上下面的代码就可以了
//状态栏、导航栏、标签栏高度
本文标题:刘海屏的适配
本文链接:https://www.haomeiwen.com/subject/cimwictx.html
网友评论