摘要: 使用safeArea.bottom来获取安全距离的高度会导致错误,需要使用safeAreaInsets.bottom,但是要达到和safeArea.bottom同样的效果需要使用screenHeight-safeAreaInsets.bottom计算得到和safeArea.bottom一样的值 阅读全文
posted @ 2024-01-10 09:35 乌拉小考 阅读(171) 评论(0) 推荐(0) 编辑