在实际开发中,我们写的页面如果没有设置安全区域,则会在iponeX下有被遮挡。
解决方法只需设置安全区域的样式即可:
padding-bottom: constant(safe-area-inset-bottom);
padding-bottom: env(safe-area-inset-bottom);
在实际开发中,我们写的页面如果没有设置安全区域,则会在iponeX下有被遮挡。
解决方法只需设置安全区域的样式即可:
padding-bottom: constant(safe-area-inset-bottom);
padding-bottom: env(safe-area-inset-bottom);