📌  相关文章
📜  react native 获取导航栏高度 - Javascript代码示例

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

代码示例1
import { Dimensions} from "react-native";
      const screenHeight = Dimensions.get('screen').height;
      const windowHeight = Dimensions.get('window').height;
      const navbarHeight = screenHeight - windowHeight